Why I get this Debug error: 'fileLength == processed' when calling CreatePrefab?
I'm building an Editor script to compose a GameObject given a set of Assets. The final objective is to create a prefab to be used by the rest of the team. It's working fine except by a minor caveat:...
View ArticleHow to fix? Character grabbing system
I wrote this last night, i am trying to recreate the grabbing function of the game little big planet (Those who haven't played it allows for grabbing of objects on keystroke whether it be a ball to...
View ArticleI am having questions having an and statement within an if statement and the...
if (player.Lives = 0 && player.Score == player.High) { Application.LoadLevel (2); } else if (player.Lives = 0 && player.Score > player.High) { player.High = player.Score;...
View ArticleCannot cast from source type to destination type
Ok So I am having difficulty figuring out how to solve this issue. My program says there is nothing wrong when it is not running but when I run it I get the following error. - "*InvalidCastException:...
View ArticleError: Failed to post to a semaphore (errno:15)
Hey, In the past couple of days I have started getting this error when running on the device. I am not sure what is the cause and cannot reproduce yet. Getting both `errno 15` and `errno 37`. No trace...
View ArticleI get this error some times when i build to android
Installation failed with the following output: WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix. WARNING: linker: app_process has text...
View ArticleCG Shader Properties Parse Error
This is the strangest thing I have ever seen in all my programming experience. Here's the situation - Shader "SomeShader" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _Color("Diffuse Color",...
View ArticleMovement not working
var pointA : true; var pointB : false; var pointC : false; var pointB : false; function makefalse(){ pointA : false; pointB : false; pointC : false; pointD : false; } function Update () { if...
View ArticleMesh wont render error
On my students laptop, the gameobjects mesh do not render on either Scene and Game view. Normally they are viewed as black surfaces by default. I can not drop materials on the gameobjects either or...
View ArticleAndroid Application Error Message
The following error message is displayed when I install the project and try to run it on my android device: "The application AndroidTest (process com.Test.AndroidTest) has stopped unexpectedly. Please...
View ArticleComplete Packages wont run correctly in Unity
I downloaded Bootcamp and Stealth Complete Package, so I can learn how to implement audio in a game with the audio tools and also with FMOD. I can't seem to get the game to work. It has errors and wont...
View ArticleError when player trying to take damage from a hazard
Hi guys, I am currently working on a game that includes a health system. As part of the game, when the player runs into a saw they take damage, managed by an already set-up "modifyHealth" action....
View ArticleAn object reference is required when checking for active object
So I'm trying to check to see if an object is active or not and I'm running into the CS0120 error (An object reference is required to access non-static member). My goal is to create a teleporter script...
View ArticleError: an object reference is required for a non-static field, method, or...
This is my code. MouseLook is the class that I want to set Enabled from, Enabled is a bool. if (Input.GetKeyDown (KeyCode.Escape)) { Paused = !Paused; if (Paused) { MouseLook.Enabled = false;...
View ArticleOfficial Shooter tutorial error
Hello, I am currently following the official space shooter tutorial and I am having this error. NullReferenceException: Object reference not set to an instance of an object...
View ArticleNullReferenceException - With Network PlayerSpawn
Going to Change the Level after Creating the Server and then Spawn the Player. Anyway Error Output says: NullReferenceException UnityEngine.Network.Instantiate (UnityEngine.Object prefab, Vector3...
View Articleplease help, script error
Hi there, i´ve tried a short program to lock camera to an empty object but there is always error cs1519 in the command: void Start () please help me, i can´t spot the mistake. ![alt text][1] [1]:...
View ArticleHelp!, Android plataform SCRIPT?
Hey guys, i have a Script Of animations to Play, works perfectly when the Target Plataform is PC, but, when i switch to Android, Give this error: Assets/Scripts/Player/PlayerAnimControl.js(25,28):...
View ArticlePROBLEM WITH STARTING UNITY
HI there after downloading this software, it appeared as if it was ok,i was asked to fil my personal data, i filled in the information but still the application cannot open, what seems to be the...
View ArticleBCE0049 error with network script
hi, i am building a mobile game ware the player hosts a 32/16/8 players game on his device and then other people can connect to it, i have created [here][1] and i keep getting this error: (37,25):...
View Article