Unityengine does not exist in the current context.
I have a problem that no one seem to have fixed. I have asked on the Unity forums and no one knows why it is like it.
If I make a new C# script in Unity and open it, at once is "UnityEngine" and "MonoBehaviour" marked in red. And if I hoover over them it gives me a message that says they don't exist in the current context.
I am using .Net framework 3.5. I have made sure it is available thru the controll panel and "Turn Windows features on or off". I have reinstalled Unity. I have downloaded a newer version of Mono Develop.
I can not understand WHYYYYYY it wont work, someone please??
For the record, I have Windows 8.1. No other program or game is messing about anything.
If I try to run the code in Mono Develop it gives this error - "Build failed. Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest."
Wich doesn't make any sense since I am NOT using .NET 4.
you should use the stock monodevelop. And according to the checks in this thread unity runs on .NET 2.6 something.
http://answers.unity3d.com/questions/924021/what-is-the-version-of-net-in-unity-5.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612112944im_/https://answers.unity.com/themes/thub/images/avi.jpg)