dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
674 stars 181 forks source link

UnityEditor could not be found during build. Unity 4.6.9f1 #111

Closed jcloutz closed 8 years ago

jcloutz commented 8 years ago

When I attempt to build a game I receive the following error

Assets/Plugins/VSCode/Plugins/Editor/VSCode.cs(19,11): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

The runs fine in the editor, but refuses to build.

jcloutz commented 8 years ago

Fixed it, I didn't read the docs correctly, and therefore didn't have it in the Plugins/Editor directory. Doh!