Problem in build: PC and Android - IsolatedStorageException and pink screen
When I build my project (dev build) I can play through the main menu until the game part, then I get an error: "IsolatedStorageException: Could not find a part of the path...
View ArticleScript component seems to be missing when spawning prefab?
I'm making a racing game, and trying to spawn the characters into the stage as the match starts. The spawning object has an array named racers, which contains all the prefabs for the characters, and an...
View ArticleUnity 5.2 Oculus Rift display is blank ?
I am trying to get my Oculus Rift DK2 to display a Unity 5.2 game I'm developing.. but no success I can see the game playing on my computer monitor and the head tracking is operating.. but there's...
View ArticleObject Reference not set to an instance of an object for Moving Platform
When I try to enter a trigger on a moving platform to let the platform move, it says "Object reference not set to an instance of an object" when I enter the trigger. Here is my code: using UnityEngine;...
View ArticlePlay Swimming Animation when in water. (ERROR CS0120)
So i've made a swimming script, that works fine. But i wan't to add, so when I'm in the water, it plays a swimming animation. I've made the animation, and put it into a script, but it says error...
View ArticleWhat this error?
I wrote C# script like this but, I got these error.... How can I solve this problem??? using UnityEngine; using System.Collections; public class Camera_M : MonoBehaviour { public GameObject Player; //...
View ArticleWebGL build failing Unity v5.2
Hello! In your browser, I get this error: pre-main prep time: 1973 ms index.html:34:7 Invoking error handler due to uncaught exception: TypeError: invalid arguments :...
View ArticleCannot convert 'object' expression to 'float'
error CS0236: A field initializer cannot reference the nonstatic field, method, or property `randomGen.blockPos' error CS1502: The best overloaded method match for `UnityEngine.Vector3.Vector3(float,...
View ArticleFacilitator ERROR Failed to start RakPeer!
Hello! I'm trying to host MasterServer on a dedicated running machine. I had to go through a lot of trouble while compiling Master server and Facilitator but now I finally managed to compile them but...
View ArticleSpeechRecognitionEngine.InstalledRecognizers() returns null within Unity.
Hello, I am trying to use the speech recognition system from the .NET 3.0 framework within Unity. I therefore have imported the System.Speech.dll, from .NET 3.0 since higher version did not work, into...
View ArticlePhoton Unity Network ERROR
Help! I honestly have no idea what is going on with my PUN. I reinstalled it probably 5 times, but it always stops on "ConnectedToMaster". Does someone know whats going on?
View ArticleBCE0005 Unknown identifier: 'FirstPersonController' Help please
So my code worked in unity 4.5 but when i start using unity 5 i tried to put the same code but it dose not work even after i edit the script, The problem that it is shown to me is : Unknown identifier:...
View Articleyield WaitForseconds not working?
HI, my code below doesn't seem to wait for 5 seconds before executing the code var gameState : String; var circleColor : int; function Start () { Debug.Log("The game has started"); gameState = "play";...
View ArticleCannot download any assets in store (unity 5.1)
Hi, this morning i tried to download an assets from the store and i get an error when download start (403). Any assets i try to download will do the same thing. I asked a collegue to try an download...
View ArticleNullReferenceException: Object reference not set to an instance of an object...
I tried everything to fix this, but i cant, pls help me: Script: #pragma strict var rayLength = 10; private var treeScript : TreeController; private var playerAnim : PlayerControl; function Update() {...
View Articlenot all code paths return a value?
this code: private GameObject PersonToShoot(){ if (enemyListInTower [0].transform == Spawn.furthestEnemy [0].transform) { return enemyListInTower [0]; } else { for (int i = 1; i <=...
View ArticleParameter doesnt exist
Parameter 'Crawl' does not exist. UnityEngine.Animator:SetBool(String, Boolean) ![alt text][1] [1]: /storage/temp/54968-capture.png I'm seriously baffled by why this is happening
View Articlethis Bullet shooting script error
Hey guys , i am trying to make a gun shoot but a error keeps coming up `NullReferenceException: Object reference not set to an instance of an object...
View ArticleHow to declare an 3-dimensional array in C#?
I just tried to create an 3-dimensional array in C# (which seems to work, at least there are no errors)private int[,,] myarray = new int [sizeX,sizeY,sizeZ]; but when I try to write to the array...
View ArticleService Unavailable, Please Try Again Later popping up for 2 days now
Okay, so I've been unable to get Unity to let me sign in. I've just updated to Windows 10 and decided to install this about 3 days ago, so I have version 5.2. I can work offline, but I cannot login....
View Article