Hello,
I have a problem, in Visual studio there is an error in the first line "using UnityEngine;", which says: "The type or namespace UnityEngine could not be found. I have no idea what to do, I asked google for hours and did not find a solution. I reinstalled Unity, I reinstalled Visual Studio Community. This error is only occuring in some projects, some other projects work fine. I can temporarily fix the error by clicking "project->Add reference" and then searching "Unity" and ticking everything in the list, but as soon as I open another script or open VisualStudio I have to do it again.
Thank you in advance
↧