How to solve error transform.position assign attempt for 'Car' is not valid....
In my game i have a car following a waypoint system, everyting seems to work perfectly but after a random amount of time my AI car stops moving and gives me the error transform.position assign attempt...
View ArticleNamespace Errors
I am extremely new to C# and scripting in general. I am getting three errors in my script: Assets/Scripts/PlayerHealth.cs(25,14): error CS0116: A namespace can only contain types and namespace...
View ArticleMelee Script Help
Assets/MeleeSystem.js(13,18): BCE0044: expecting :, found '='. Is the error I get . I have went through and done what it asks only to be in a slew of other errors Here is my script. #pragma strict var...
View ArticleCan someone review a short script and tell me where I've gone wrong?...
I have began coding a controller for a 2D game and I am having a few issues. Could anyone help me out please! ![alt text][1] [1]: http://gyazo.com/d33e78f90d1cf2dff3e28a2760efdc5a.png Code #pragma...
View ArticleHow to play multiple audio clips in a row?
Hi here's what I want to do. I have a scene where I want my script to loop through multiply audio clips in a row that I assign via the inspector. I'm currently using this script(Script1) to play the...
View ArticleError that I can not solve
hello to all I was presented this error ![alt text][1] but I do not understand what is the cause ... how can I solve it? [1]: /storage/temp/18848-immagine.png
View ArticleUnity Editor Doesn't Work Anymore
Right now I have Windows 7 and Unity Editor 4.3.1. I tried looking at unity answers and I tried everything I saw including changing the DEP settings, holding down alt when opening, reinstall and...
View ArticleUnassignedReferenceException: Event after assigning?
I'm an experienced programmer learning Unity for the first time. I know this is the most basic and common error for the newbies. I think I have got it right but it still produces this error. What am I...
View Articlewhy is tapjoy not working?
HI, recently I downloaded the Tapjoy (unity3d) sdk I read the documentation on the tapjoy website and i followed the steps. I created a new empty project i imported the package and i started the sample...
View ArticleMust Be Marked As Legacy - Animation
Hi I know this has been asked a lot but all the solutions have not fixed it at all. So I have made an animation in unity. I have put it on the game object (the game object is marked as legacy) there is...
View ArticleScript Error
When i try to open a script it comes up with an error: Unable to open Assets/Scripts/PlayerHealth.cs: Check external application preferences What does that mean. sorry for bad english
View ArticleCan't Add Script
I cannot add a script to an object It says "Can't add script behaviour CharacterMotor. The script class can't be abstract . Here's the script. using UnityEngine; using System.Collections; public...
View ArticleLightmap index error
I'm getting this error: "Lightmap index must be less than 256." That's all it says, it doesn't point to any objects when I click the error either. I LoadAdditive a scene with a Terrain in it. When I...
View ArticleUnity Android Flurry error
using UnityEngine; using System; using System.Collections; using System.IO; using System.Collections.Generic; using System.Linq; public class FlurryManager : MonoBehaviour { public FlurryAgent _flurry;...
View ArticleBugs? GetPersistentManager
!GetPersistentManager().IsStreamLoaded(assetPath) and !dest.m_MultiFrameGUIState.m_NamedKeyControlList show up as errors in my unity editor but I have no clue on the reason. I'm currently using 4.3.1f1...
View Articleint count on collision enter not working
public var touchCount : int; function Update() { if (touchCount >= 4) renderer.material.color = Color.red; if (touchCount < 4) renderer.material.color = Color.gray; } function OnCollisionEnter ()...
View Articlei just got unity and when i open the program i get a error saying transaction...
when i open unity on my macbook pro i get a error saying transaction is invalid i re-instaled it 3 times and im still getting the error
View Articleshoot script is not working
this is probably a stupid question but i cannot get my shoot script to work. i am a noob to scripting and this is the first script that i have worked on. it is supposed to spawn a rigidbody game object...
View ArticleImportFBX Error: Corrupted or Invalid file
I'm trying to import FBX files into Unity but I keep getting this error: ImportFBX Errors: Couldn't read file /Users/.../Assets/Models/3D_Callout_09.FBX. Corrupted or invalid file. I've done quite a...
View ArticleWhy Can't I Fix This Error In My Script?
I keep getting the same error: "Assets/MeleeSystem.js(3,21): UCE0001: ';' expected. Insert a semicolon at the end." How do I fix it? This is the script I'm using: #pragma strict var TheDammage : int -...
View Article