UnityEngine does not exist in this context
Version: Currently 2017.4.1f.1, repeatable in other versions Exists in both monodevelop and visual studio C# coding for Windows and AndroidSDK Currently affects all scripts using.UnityEngine and children.
Currently I'm having an issue with my project where the editor and monodevelop/visual studio both loose access to UnityEngine, despite it being clearing in my Reference library. I've looked through multiple different versions of this question that have appeared for multiple versions and years of unity with no luck. I'm looking for some idea of what could cause this as I've made no changes to any of those libraries before hand, and it seems random when it happens if I revert back to a backup.
Attempted Solutions: Delete Library folder Delete all .csproj and cln files to remake them Reinstalled Unity Install a different version of Unity Reinstall Monodev/VS Reimport Assests Reimport All Change .NET framework version Remove GoogleAds plugin(originally thought this was the issue but this happens without the plugin present as well) Tried readding the Reference to the UnityEngine.dll
All of these were suggestions I've found in my search, and while they seemed to work for some very sporadically, none of them have fixed my issue.
In addition I am unable to post any code for this project for various reasons, though this issue affects all scripts currently.
Your answer
![](https://koobas.hobune.stream/wayback/20220612170245im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Tiled2Unity something about shadowraycasting 1 Answer
CompilerParameters not found in System.CodeDom.Compiler 1 Answer
Can't reference other namespaces from within TextMeshPro (TMPro) namespace. 0 Answers
What are efficient ways to access other scripts ? 1 Answer
the type or namespace name 'Rigibody2D' could not be found 0 Answers