I’m working on one of the first tutorials on Unity. I got this message (image 1). Anyone please let me know how to fix this?
Also, the script I created is suppressed (image 2.) And the object is not following what script says when I hit “Play”. Is there any coloration between the fact the script (seems to be) is suppressed and not the object playing? In that case, how do I unsuppressed the script?
Image 2 is normal. The “script” field is always greyed out in the inspector for MonoBehaviours. It’s just there so you can double click it to open the file if you want.
Image 1 I’ve never seen before but it looks like the kind of thing that can happen if you’re trying to open the script in MonoDevelop while Unity’s still building it or your antivirus scanner is scanning the files. Try just exiting MonoDevelop and then waiting a second and then double click the script again in Unity and see if it goes away.
Thanks makeshiftwings.
For the answer image 2. Ok, thanks.
For the answer image1, I somehow got rid of the error message. I know the script is attache to the object (player). I also closed the project and re-opened it but the object doesn’t move…
That looks correct. Just to be clear: you have to enter Play mode, then use the arrow keys to move the ball around. Make sure no boxes are checked in the “Constraints” section of the Rigidbody.
makeshiftwings, Thanks! My computer started to freaking out (MBP) and I had to force quite it. Then I re-opened it and now it works…!
At some points, in the past few hours, errors such as image 1 popped up (with different reasons) Somehow by pressing many keys, I deleted them… I also uninstalled and re-downloaded/installed Unity hoping this error will disappear… but didn’t solve it. Oh well.