Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

The type or namespace "UnityEngine" could not be found - Can not edit scripts

$
0
0
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

Viewing all articles
Browse latest Browse all 2891

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>