NullReferenceException: Object reference not set to an instance of an object...
using UnityEngine; using System.Collections; using UnityStandardAssets.Characters.FirstPerson; public class InputEnabler : MonoBehaviour { static FirstPersonController FPSChar; // Use this for...
View ArticleArgumentOutOfRangeException Error in my game
I am trying to build a quiz game. I got two scripts, a Question Data and a Question Manager script. In my QuestionManager script i keep getting this error when i try to set a new question. I've tried...
View ArticleError cs1547 and cs1525 help: Keyword 'void' cannot be used in this context...
This is the script using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { private Rigidbody rb; // Use this for initialization void Start () { { rb =...
View ArticleError Building APK
What is the problem here ? I cannot build the APK. I need help please. I have added Google Admob Plugin and Facebook SDK. Error building Player: CommandInvokationFailure: Failed to re-package...
View Articleerror CS1525: Unexpected symbol `offsetX'
I'm making my first ever game, and I got this error: "error CS1525: Unexpected symbol `offsetX'" Can you tell me how can I fix it, answer as fast as possible, please. (: The script: using UnityEngine;...
View ArticleNull reference error.
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Collections.Generic; using System; public class TextController : MonoBehaviour { private bool bStart = true; private...
View ArticleUrgent Help Error cs1525!
Hi, I am getting a Assets/PlayerController.cs(94,19): error CS1525: Unexpected symbol `RotateCamera' error message can somebody pleas tell me how to fix this. using UnityEngine;...
View ArticleHow i do i fix error cs1519 unexpected symbol ')' and '('
using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { private Rigidbody rb; // Use this for initialization void Start () { { if (GetComponent() != null) { rb =...
View ArticleNull error.
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Collections.Generic; using System; public class TextController : MonoBehaviour { private bool bStart = true; private...
View Article!CreateDirectoryRecursive(fullpath) - Fatal error!
I'm using Unity 5.3.5f1 and I get these error message after every new installation...... Unity 4.7 works fine but the new version is strange. I tried to change the installation path, run Unity as admin...
View Article"fillamount" not appear!
Hello everyone, i have little problem.. i can't solve it. I'm totally newbie in c# and Unity! in condition, i want to create radial loading bar, and see tutorial from youtube. but the problem is...
View Articleissue with project in unity5.3.5
I have installed unity5.3.5 in a machine and found that unless my machine is connected to internet, it is giving the following error. whereas a machine with unity5.3.1 does not show any issues. the...
View ArticleBigInteger.ToString("F") giving Format Exception
This is the exception i am getting while running the code: FormatException: format 'F' not implemented System.Numerics.BigInteger.ToString (System.String format, IFormatProvider provider)...
View Article'writing asset file failed' when rebuilding Library folder
I'm setting up a local TortoiseSVN subversion repository and following the instructions here: [http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html][1] However, on step 7. "*Open the...
View ArticleUnity 5.4 - NetworkLobbyManager can't accept new connection [hostId: -1...
So, I'm trying to make my own HUD for the NetworkLobbyManager in Unity 5.4. Of course, they've done all kinds of changes to networking, so I'm having a hard time finding a solution to this error. This...
View ArticleUnity Crashes When Clicking Play: Script Error?
I have an issue, whenever I try to click play in the Unity Editor, the Editor freezes. This might be caused by a script error. According to this post...
View ArticleHow to Rotate/Translate a GameObject via C# Script
So, I'm writing a script to move my gameObject (basically a submarine). I'm collecting the x/z coordinates as well as my rotation from a text file. In my code, I convert the lat, long and heading...
View ArticleFloating point error message in shader
I'm using a 3rd party shader. I don't notice any issues in the Unity editor (although I probably didn't open a scene that uses the shader). This code compiles cleanly for OSX, but gave an error message...
View ArticleHelp with the Official 2D Roguelike Tutorial from YouTube?
***This is a long one, so prepare for a long read.*** Quite simply, I'm following the Roguelike Tutorial series on the official Unity YouTube Channel, and on Part 5, the scripts used to generate the...
View ArticleGetting allocation error even with a full free storage space
all my local disk have alot of free storage spaces. and i downloaded unity in local disk E but it says disk full when i have local disk c full.. i cant open unity . as soon i open it .it crashes and...
View Article