Building fails due to error: The type or namespace name UI does not exist in the namespace UnityEngine
Hey!
I am using Unity 5.2.2f1 on Windows 7. My issue is that when I try to build I get the error in the headline.
It is relevant to note that I have modified my UnityEngine.UI dlls and that I sometimes have to reimport those even though they are placed in the "UnityExtensions" folder. Otherwise I get a MemoryStream corrupt when I load a scene with UI in it and have to force quit the project.
Sometimes I get this error https://issuetracker.unity3d.com/issues/unityengine-dot-ui-dot-dll-is-in-timestamps-but-is-not-known-in-guidmapper-dot-dot-dot-1 and have tried deleting the library folder and using reimport all without any luck.
It should be mentioned that it is a huge project > 60GB, so testing things like reimport takes quite a while.
Anyone?
why would you modify unity DLLs? just fork this repo https://bitbucket.org/Unity-Technologies/ui and modify it
Your answer
Follow this Question
Related Questions
UI Buttons Trigger displaced after build. Help Please 0 Answers
How to write actual text into game play 2 Answers
Unity UI 5.3 - Getting anchoredPosition of RectTransform on Start 0 Answers
Cursor dissapearing in my menu 0 Answers
Help Regarding Making A Server List by Instantiating prefabs 0 Answers