- Home /
using System, Monobehaviour, Camera, GameObject and most other thing don't work anymore/unrecognized/don't exist in current context
As the image shows, the situation is dire. Monodevelop won't recognize "using System" and by default, "Monobehaviour" is not a thing anymore just like most declared variables, as in "GameObject" "Camera", "AudioSource". All bright red. Hovering over them gives out a "doesn't exist in the current context" error message. Uninstalled Unity and Mono and reinstalled again, nothing. Even changing from .NET 4.6 using preferences->player->.NET version to 3.5 (stable) doesn't cut it. What do I do? Any ideas? Really confused...
EDIT: also, hovering over the red xs on the left, it says that .NET 4.6 is not installed" but I downloaded it and tried to install it and it says that it's already there, so the only thing I can think of is that there's like a missing reference or connection between .NET 4.6 and monodevelop. Also, opened another project and in that one the references to system and all the others on the left in the attached image are present but this time "UnityEngine" is missing in that same way.