Ne0mega
1
800 errors, all say Cannot implicitly convert type ‘UnityEngine.GameObject’ to ‘GameObject’
Any idea what happened?
I wasn’t monkeying with the guts of Unity in any way.
Just moving some files around to organize my folder and project structure.
I suspect this has something to do with the “converting scripts from UTF-8 to ANSI Coding” end of line error in Visual Studio.
Deleting Library folder → restart Unity. Unity crashes near the end of restarting Unity.
Assets → Re-import all assets: Unity crashes near the end.
DWmDM
2
Have you created a class of your own called GameObject? That is what my first thought would be, and I get the same error message when I do the same.
Ne0mega
3
EDIT: I later checked, and that was indeed the cause. I had renamed a class to GameObject : Monobehavior
Hmm, I have already re-built my project, but now that I think about it, I think that may be what inadvertently happened!!
In fact, I am almost sure of it, now that I think back to what I was doing and the problems I was having.
Thank you!
Now if it happens again, I wont spend 8 hours trying to figure out the problem, and know right away.