Assets/scripts 1/Character Classes/ModifiedStat.cs(21,52): error CS0841: A...
Hello, I've got an error and I don't know how to fix this... Looks like the variable isn't declared but I've got a warning as well wich says: Assets/scripts 1/Character Classes/ModifiedStat.cs(20,45):...
View ArticleI am having a parsing error in a C# pause script, can anyone help?
using UnityEngine; using System.Collections; public class pause2 : MonoBehaviour { void Start () { } bool paused; void OnPauseGame () { paused = true; } void OnResumeGame () { paused = false; } } }...
View ArticleCan't get rid of errors
I have been over this 1000 times. please help. thank you #pragma strict var cols:int = 4; // the number of columns in the card grid var rows:int = 4; // the number of rows in the card grid var...
View ArticleI am getting an error and cant figure out why, Help please?
Ok the error is on line 39 and it is Error CS0039: Cannot convert type 'UnityEngine.Transform' to 'UnityEngine.GameObject' via a reference conversion, boxing conversion, unboxing conversion, wrapping...
View ArticleMonoDevelop Unhandled Exception. MonoDevelop will now close - Mac OSX
I get this error when opening a script in Unity or just opening MonoDevelop. (I'm using a Mac) ![![alt text][1]][1] [1]: /storage/temp/12293-screen+shot+2013-06-23+at+9.06.07+pm.png Please help me...
View ArticleUnity Giving Errors after adding "Private"
Why does Unity want a } at 8/9 and want EOF at 22/9? All I did was add "private" to the variable. Thanks as always. var walls : GameObject; var animationStopped : boolean = false; var Mineshaft:...
View ArticleAccess function (and variable) outside class in the class in Javascript.
So I have this code: function SomeFunction() { Debug.Log("Log"); } class TestClass { var SomeVar : int = 0; function Foo() { SomeFunction(); } } And I end up with this error: BCE0005: Unknown...
View ArticleProblem calling variable across scripts
I need on script, CannonAngle, to respond when the "active" variable from another script, TransformFunctions, returns a one. The TransformFunctions script is on the parent object while the CannonAngle...
View ArticleAndroid: Application.LoadLevel("level_name") does not do anything
I have a game with multiple scenes. Everything worked fine, in the Editor and on different Android devices. Then I changed some graphics today in one level, added a new texture to an object. Everything...
View Articleinsert semicolon
I am getting an error on line 42 saying to insert a semicolon at the end but I am not sure where. function Start () { healthRegen(); } function Update () { healthtext.text = curHealth + " / " +...
View ArticleNullReferenceException: Object Reference not set to an instance of an object.
using UnityEngine; using System.Collections; public class PlayerAttack : MonoBehaviour { public GameObject target; public float attackTimer; public float coolDown; // Use this for initialization void...
View ArticleHow do I fix this Compiler Error?
Hi i got an Error and don't know how to fix it. this is the Error: "Internal compiler error. See the console log for more information. output was:BCE0011: An error occurred during the execution of the...
View Articlec# Unexpected symbol '=' in struct, class.....
I must be doing something wrong. I'm getting the error in the title, but I have no idea why. The error is on line 8 and 9 Here is my code: public class ItemDatabase { private List items = new List();...
View ArticleNullReferenceException: Object reference not set to an instance of an object
This is Almost the same error as before but This Stops the game totaly. It points at lines: 44 and 18. It doesn't display the skills correctly like Melee_ Offence and mele_defence and so on. I'm...
View ArticleAndroid - SDK Path error 232
Ever since I updated unity to 4.1.5f1. I've being unable to build unity on my Android tablet. I get this error - Error building Player: IOException: Win32 IO returned 232. Path:...
View ArticleHow To Import Fonts?
Hi, what is happening is that whenever I try to import a font into Unity, it sends an error saying: "The font Assets/(fontname).ttf could not be imported because it couldn't be read". It says this even...
View ArticleHow to make a smooth transition between Vector3's
Hi, so I am trying to do a smooth transition between two positions whenever a controller isGrounded or not. But it doesn't seem to work. Can anyone help me with this please? Here's my script: var...
View ArticleWe encountered an error and I need some help؟
Could not start compilationApplicationException: Unable to find csharp compiler in E:/Unity 4/Data/Mono\lib/mono/unity_web Download New Version 4.1.3f3 I feel I'm in trouble when I download it, I get...
View Article"Shader wants tangents, but the mesh doesn't have them"
So, whenever I want to enter playmode, I get this error. I'm pretty sure that it occured when I was changing the shader of a material - but even though I changed it the error still remains. Any Ideas?
View ArticleBlend file not importing
Not sure why this is happening, for a while blend files imported normally, but now they don't for some reason. I get this error: Blender could not convert the .blend file to FBX file. You need to use...
View Article