Support => NGUI 3 Support => Topic started by: sonicviz on June 11, 2014, 08:40:56 AM
Title: iOS Build Error 3.6.3 UnityEditor
Post by: sonicviz on June 11, 2014, 08:40:56 AM
Getting a UnityEditor does not exist in current context trying to build to iOS
?
Title: Re: iOS Build Error 3.6.3 UnityEditor
Post by: spooky on June 11, 2014, 11:58:59 AM
Go to the offending line of code and make it look like this:
#if UNITY_EDITOR
Unity.Undo.RegisterCreatedObjectUndo()
#endif
Don't replace the Unity.Undo thing though, just add the other two lines, exactly as typed above. This is supposedly fixed in an update, but I haven't updated yet.