gameObject missing
I made a question earlier concerning gameObject which I was corrected on my mistake but now my class is derived from MonoBehaviour and the script is attached to a game object called Player but...
View ArticleCannot convert to unityEngine.GameObject
I am encountering two errors> Assets/checkPaper.js(12,64): BCE0022: Cannot convert 'paperScript' to >'UnityEngine.GameObject'.>Assets/checkPaper.js(14,25): BCE0019: 'theMessage' is not a...
View ArticleSpace Shooter: If that impact but not explode or ship or asteroids.
Hello everyone! I am beginner in Unity and I am not a programmer, I do not know C #, as I discovered recently and loved it. I have a problem, I am following the tutorial Space Shooter step. Upon...
View ArticleBuild process suddenly finds new errors
On at least two occasions in recent days, the build process has suddenly discovered new errors in my code that I know were not there a minute before, or at least the compiler hadn't found them a minute...
View ArticlePlease Help
Very confused , I do not understand that for an error Targetting.cs(3,14):error CS1041: Identifier expected. Please tell me , where did I go wrong ? using UnityEngine; using System.Collections; using...
View ArticleWhy?? MissingComponentException:
MissingComponentException:There is no 'GameObject' attached to the "Car" game object, but a script is trying to access it. You probably need to add a GameObject to the game object "Car"... Or your...
View ArticleTutorial for rougelike is telling me code is wrong
Ive tried everything I can think of to fix this code. Eventually I just copied and pasted the code from tutorial website and it was identical to the one I wrote. Its still wrong. Here is what I have so...
View ArticleUnity 5 Error Only assignment, call, increment....
18- GetComponent().material.mainTexture = scareTexture; 19- GetComponent().Stop; 20- AudioSource audio = GetComponent().Stop; 21- AudioSource.loop = false; 22- AudioClip = scareSound; 23-...
View ArticleLightmap works wrong which baked in win and show in mac
I baked the lightmap in win7 and when I see it in mac,it works wrong.I use the Unity 5.1.1f1 and the source control is svn. ![alt text][1] win7 effects. ![alt text][2] [1]: /storage/temp/49389-win7.jpg...
View ArticleUnity Wont Launch
I've been using unity for about a year now and all of a sudden it wont open anymore. It just gives me this error every time i try to open it, help please. ![alt text][1] [1]:...
View ArticleConvert Int to String?
i wanna make a function that when i click a button set active the next canvas and inactive the current canvas, if just was one of two could be easy but are at least 50.... i try make a var that...
View Articleerror CS1502 and error CS1503 What is this?
using UnityEngine; using System.Collections; public class Menu : MonoBehaviour { public string obecneOkno = ""; Vector2 srodekEkranu; string login; string haslo; void Start () { srodekEkranu = new...
View ArticleError: NpRigidDynamic::isSleeping: Body must be in a scene.
NpRigidDynamic::isSleeping: Body must be in a scene. What is this error? It spams the Development Console on a Windows Store App build but doesn't show up for any other build target. My application...
View ArticleParsing error
So i have this parsing error that I don't know how to fix: Assets/Scripts/CameraTrackingPlayer.cs(34,9): error CS8025: Parsing error using UnityEngine; using System.Collections; public class...
View Article"Weaver failure" Error
I just finished editing c# script and when I come back I get the following error message in the 'clear on play' section in my Console Console: "Weaver failure: unable to locate assemblies (no matching...
View ArticleThree errors that shouldn't be errors
Hello! I reimported an asset that has scripts that I am calling from my own script. Now I have three errors that really don't look like errors. error CS0123: A method or delegate...
View Articlerigidbody AddForce(transform.left) error
For some reason, whenever I try to run this code it says that transform does not have a definition for left. I have been looking at this code for ages and I still can't see anything wrong with it. Here...
View ArticleWhy do I get a Null Reference exception for fields, the values of which I...
Hi I am having a problem with accessing the values I have set in fields i set in the constructor. I have 3 classes **Class1 Class2** and **Class3** **Class1** is just a class **inheriting from...
View ArticleClick GUI Button and move the object to another set location
I need some help, I want to make my object move to another set xyz location when clicking the button I used transform.Translate but I don't know how the object will stop to the target location .Thanks...
View ArticleWhen will Linux controls work
The newest update has destroyed Linux controls. I'm wondering if Unity has fixed this. I'm interested in making games for Linux only but if the engine has large errors with the keyboard. I'm wondering...
View Article