Hi, I have a really strange and allarming issue here:
I closed my project (project boost from Unity 3D course) a couple of hours ago, it worked fine… Now I reopened it, and suddenly all the scripts are broken. On the inspector it says this:
And the console report this message:
Assets\scripts\interazioneOstacoli.cs(37,17): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
I tried to make an empty new script for test, but when I try to place in a GameObject this popup appers:
I noticed that, inside Visual Studio Code, there is this message:
This is there since the beginning (I was unable to use a couple of functions, I planned to find a solution in the future), I have no idea if this could be the cause…
I’m a little affraid now, because I can easily restart this project (it’s part of a lesson, I don’t have a backup) but what if this kind of issue will show during a bigger project!?
Anybody has an idea of this issue, and hopefully a solution!?
Thanks in advance!