Reference to Null object Help beginner question
NullReferenceException: Object reference not set to an instance of an object PlayerController.Update () (at Assets/Scripts/PlayerController.cs:23) I got stuck while trying to follow this tutorial...
View ArticleShowing an error box with C#
I have a very simple question, that probably has a very simple answer, or is not possible. How would I show an error box that looks something like this.![alt text][1] Here is what I want to do (in...
View ArticleWhy is Unity 5 Not allowing me to Destroy an Object???
Hello, I am getting a compiler error from Unity 5 on my javascript file for tring to Destroy the player object if the lives are reduced to 0. The error message implies that the Destroy is an Unknown...
View Articlewhen i press the start (menu) button then Console says error. Error:...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class uiManager : MonoBehaviour { public Text ScoreText; bool gameOver; int score; // Use this for initialization void Start()...
View ArticleCan't activate Monodevelop and has .NET and GTK# installed.
I have Unity 4.3.0 and I have the latest versions of .NET and GTK# installed. I also installed the actual Mono program, and it still says I can't activate Monodevelop. How do I fix this? ![alt text][1]...
View ArticleCall php script error 404
Hi. I am running a project in Unity and I am trying to make a POST request towards my .php file in the root folder of this server. I have crossdomain.xml also in the root but for some reason I can't...
View ArticleFailed to run script updater.
Kinda frustrating. Can anyone help with this?? Failed to run script updater. Please, report a bug to Unity with these details System.IndexOutOfRangeException: Array index is out of range. at...
View Articleoperator && cannot be applied to operands of type bool and method group
else if (touch.phase == TouchPhase.Ended && quit.HitTest) { Anim.Play("fgfffhfffthjjbczsd"); } This code works on javascript, but on c sharp i get. "Operator && cannot be applied to...
View ArticleObject Reference not set to an instance of an Object Help
I keep getting this error and I've had this error through the duration that I've been making my game but I've never really look notice of it since it didn't seem to effect my game. However I believe...
View Article2 errors of which I do not know what they are or how to solve them
![alt text][1] [1]: /storage/temp/76011-unityproject.png If you need more detail I can provide.
View ArticleScene 'Assets/First level.unity' (-1) couldn't be loaded because it has not...
Hi guys, to day i crated 2 scenes, the first is 'First level' where is my robot and his adventure, and the second is 'MainMenu². where you can Start the Game, and Quit the Game. All was okey, i could...
View ArticleObject reference not set error
Hi, I have an "Object reference not set to instance of object error in my game and looking at the line of code that it has the problem with I can't figure out what is going wrong, any help or advice...
View ArticleIndexOutofRangeException error
Help with patrol. We want him to move from point A and point B consistently without stopping. This is one of our first games to build. We are getting an Array index is out of range error. Patrol.Update...
View ArticleError Message
an object reference is required to access non static member error. I'm quite new to unity and c# so I'm sure I'm just not referencing it properly or something but can someone please tell me what I'm...
View ArticleParsing Error
I'm getting this error and I don't know how to fix it Assets/Scripts/PlayerController.cs(51,9): error CS8025: Parsing error using UnityEngine; using System.Collections; public class PlayerController :...
View ArticleNull Reference Exception Error
Hello, I keep getting this error in my 2D C# game: NullReferenceException: Object reference not set to an instance of an object Character.ThrowKnife (Int32 value) (at Assets/Scripts/Character.cs:43)...
View ArticleI am getting 'Unable to covert classes into dex format'
Everytime I try to compile 'build and run', I get this error. I can't find what is wrong? CommandInvokationFailure: Unable to convert classes into dex format. C:/Program Files...
View ArticleMajor Account Issue
Hello. I'm currently logged into my backup account, because I am, for an odd reason, unable to access my main account. Whenever I attempt to log into my main account, my browser takes a very long time...
View ArticleWhere are the explanations of error messages
As a newbie, I can't understand most of the error messages I get. Are these messages documented somewhere with explanations? Where?
View ArticleVoid error
I was working on my game when I got 2 errors: 1. (7, 14): error CS1519: Unexpected symbol `void' in class, struct, or interface member declaration. 2. (10,12): error CS1519: Unexpected symbol `void' in...
View Article