Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question IOS build failed with UnityEngine.UI.dll is not allowed to be included or could not be found.

Discussion in 'Editor & General Support' started by TimberQAQ, Aug 31, 2020.

  1. TimberQAQ

    TimberQAQ

    Joined:
    Dec 3, 2019
    Posts:
    1
    I just trying to make a IOS build and it failed with
    'The Assembly UnityEditor is referenced by UnityEngine.UI ('D:/ProgramFile/Unitys/2018.4.24f1/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll'). But the dll is not allowed to be included or could not be found.'
    and
    'Trying to add file D:/svnlocal/unitywindows2018releaseIOS/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll to the list of ouptut files in the build report, but a file at that path has already been added.'
    Did anyone meet this before?