Type or Namespace Error in Unity 2018.1

Hi All,

I’ve just upgraded to Unity 2018.1.0b2. Whenever I create a new script now, none of my existing scripts can see it and I get a Type or Namespace error in Visual Basic.

It hasn’t been an issue in the editor as everything plays just find, but when I run a standalone build, the build completely breaks, and after running the debugger with the standalone (windows build) I’m pretty sure this is the culprit.

Anyone else having a similar issue?

whats the actual error message?

Error CS0246 The type or namespace name ‘MonsterStats’ could not be found (are you missing a using directive or an assembly reference?)

So it looks like this is a common error for anyone over 2017 using less than Visual Studio 2017 15.5. Upgraded to 15.7.1 and the error seems fixed. I’m not sure if this will fix my build issue though.

For anyone else who comes across this error, here is the link to the thread I found on it: