GUI error calculating
so, i create a gui like this.. #pragma strict var bg : Texture; var bg_w : float = Screen.width*0.75; var bg_h : float = Screen.height*0.9; var posbg_w : float= Screen.width*0.1; var posbg_h : float=...
View ArticleNullReferenceException problem
**I keep getting this NullReferenceException:Object reference not set to an instance of an object Bullet_Hit_Boss.OnTriggerEnter (UnityEngine.Collider.col) (at Assets/Scripts/Bullet_Hit_Boss.cs:16),...
View ArticleNullReferenceException
i really don't understand why this error come to me so much times x.x i could handle it 2-3 times, but now i can't handle it again.. although i have build the exact same code with the last one.. so my...
View ArticleParse error: Syntax Error in compiled shader, Unity 4.3.1 [free]
Greeting everyone. I am trying to follow the Cg Tutorial from nvidia's developer site to get familiar with shaders, and I am also consulting the porting tips from the wiki here:...
View ArticleError when opening Unity4
Hi. I've just installed Unity on my computer and I've been working on a project for 3 days. But now every time I run the game, it gives me an error: "Opening file //.../Desktop/Project...
View ArticlePath error?
I get the following internal error does anyone recognize this or know how to fix it? It happens if I restart or reimport. Internal compiler error. See the console log for more information. output was:...
View Articleerror Assets/jorge.js(7,1):: BCE0044: expecting }, found ".
Im just learning how to script and i'm receiving the same error every time, it says error Assets/jorge.js(7,1):: BCE0044: expecting }, found ". Here is my current script: function Update() {...
View ArticleLandscape has a awry vertex
Hi, i made a hexagon lattice for my landscape, and there is a strange error. Can you think what possible reasons there could be? one of the vertices on the mesh is out of line sometimes, and all the...
View ArticleHelp with a simple following AI
So I have been working on a basic javascript code that makes an object, in my case a zombie, look at and follow another object, the Player. For some reason this code is pulling the error: "'transform'...
View Articleerror CS1525, please help
hi, getting this error and have been staring at my screen for hours, cant figure out problem, please help ! link to web picture also below http://gyazo.com/0aacf70250e46a582d768653a5496f42
View ArticleUnexpected symbol `void' in class, struct, or interface member declaration
using UnityEngine; using System.Collections; public class PlayerHealth : MonoBehaviour { public int maxHealth = 100; public int curHealth = 100; public float healthBarLengh; // Use this for...
View ArticleError on creating an Array
Hola ! i try to create a series of images, but it comes out error, this is my code #pragma strict var images : Texture2D[5]; function OnGUI () { for(var i=0;i
View Article[Solved]Next and Previous Images of Array
Holla, i've try to do some code, and with my not-so-good-algorithm-brain it comes up on a dead end.. so, here's my code. #pragma strict var images : Texture2D[]; function OnGUI () { var i : int;...
View ArticleBuilds fine for standalone, errors for WP8
I have a simple multiplayer game that I've been working on for standalone, but I wanted to try to get it to run on mobile. When I tried to build for Windows phone 8, it gives me this error for every...
View ArticleUnity cannot find my animation.
I make an animation for an object in my scene and attach it as a component to the object I am animating. The problem is that when I go to trigger my animation (as shown in the script below), it gives...
View Article4 Error on my script.
Scripts/aim 2.js(19,41): BCE0017: The best overload for the method 'UnityEngine.Vector3.Lerp(UnityEngine.Vector3, UnityEngine.Vector3, float)' is not compatible with the argument list...
View Articlehow do i fix this error
I am following this tut and I cant figure out were this error is coming from. hears the tut http://studentgamedev.blogspot.no/2013/08/VoxelTutP2.html the error NullReferenceException...
View ArticleAndroid textfield problem
Holla, i encounter Textfield Error on Android, the field did not show the text i write on android keyboard, this [problem\][1] has been asked but not answered yet.. so if somebody could help.. it will...
View ArticleBCE0005: Unknown identifier: 'DirectionRay'.
The errors: Assets/Scripts/Shoot.js(73,36): BCE0005: Unknown identifier: 'DirectionRay'. Assets/Scripts/Shoot.js(74,41): BCE0005: Unknown identifier: 'DirectionRay'. Assets/Scripts/Shoot.js(83,35):...
View Articlehow do i fix (error CS1010 Newline in constant)
I made these 2 scripts and when I finished them they both got the same errors and I don't know what they are from. ![alt text][1] [1]: http://piclair.com/data/coa6k.jpg and here is the scripts. using...
View Article