- Home /
Unity started rejecting my scripts?
Hello and greetings. I have been trying to make a game and it has been going well for a few months now. However, when i started up unity this morning, i found one of the scripts apparently had a compiler error. not thinking this was such a big problem, i looked in the script to see it was FPSinput, one of the default scripts that come with unity. it said something about the UnityEditor namespace not being found, so i looked up how to fix it and placed it in addons/Editor. However, trying to playtest gave me the same kind of error again. i didn't think too much of it here because they were all related to the same object (FPSinput, Charactercontroler) but when it started coughing up random scripts saying that they all belong in the editor folder, i started thinking it was weird. especially since everything worked just fine yesterday, when they were in their own folder. can anyone tell me why unity started hating it's own scripts?
Thanks in advance, -bolibob2 :)
am the Character Controllers asset you import has a error that is showed it's easy to fix
there's a compareing in there with =
so you put == in it
if it starts to really showing errors on many scripts copy your data as soon as possible and look in to your maching what if your HDD is failling I've heard that kind of problem before
1 person lost 3 or more years project because he didn't backup his project and he was heaving critical HDD failure
Answer by devlab_lt · Mar 22, 2013 at 10:02 AM
My co-worker had same issue few days ago.
It looks that problem is in Unity 4.1 version. When he reverted back to 4.0, all problems were gone. So I suggest do that and wait for fix for 4.1.
will try, but how do i revert to an older version? i'm kinda new...
Just uninstall 4.1 and install previous one: http://unity3d.com/unity/download/archive
Your answer
Follow this Question
Related Questions
"UnityEditor" namespace not found... 9 Answers
UnityEditor.iOS.Xcode does not exist 0 Answers
Unity UI not refresh. 0 Answers
Problems with creating custom EditorGUI for script 0 Answers