Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

"using UnityEditor;" throws an error?

$
0
0
This is so strange. I've imported an asset from the asset store (Volumetric Lines by Johannes Unterguggenberger), and when I try to build a standalone player Unity throws this error at me: "The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?" I have no idea what could be causing that. I've tried resyncing MonoDevelop, restarting Unity, etc. Nothing seems to work. It causes my whole script to break, too, because I use things from the "UnityEditor library." I'm running Unity 5.1.2. Does anyone have any idea what could be causing this? Here's a pastebin link of the entire script that causes errors: http://pastebin.com/x9q1ESPu

Viewing all articles
Browse latest Browse all 398

Trending Articles



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