Search Issue Tracker

Not Reproducible

Votes

1

Found in

5.4.0b7

Issue ID

773060

Regression

No

Unexpected compilation errors about missing UI module thrown when building project to Standalone after project upgrade

UI

-

- Open the attached project in Unity 5.4
- Fix two script compilation errors created by some obsolete APIs (the original project was working in Unity 5.3)
- Try to do a Build and Run for Windows Standalone as a target. You will be presented with lots of errors like: "The type or namespace name `UI' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference?" and the player fails to build.

Workaround: Reimport all assets (though this shouldn't be necessary). This is a regression, since building in Unity 5.3 works fine.

Comments (20)

  1. ImperialDynamics

    Jul 13, 2020 23:38

    someone else said the xbox live plugin is causing the issue and i think he is right. What can we do?

  2. R3zShark

    Jan 24, 2020 17:31

    Adding on to my Previous Comment Reimporting the Project Did Not Work!! And I'm still missing UnityEngine.UI;

  3. R3zShark

    Jan 24, 2020 16:47

    2019.2.18f1 I've experienced this issue just after importing the Xbox Live plugin! The Xbox Live Plugin never affected Unity 2017 but for some reason affects 2019! I think the Plugin needs to be Updated!

  4. meta_monkey

    Jul 26, 2019 23:12

    Still a problem when upgrading to Version 2019.1.12f1. 62 errors to be exact.

  5. GermiyanBey

    Feb 17, 2019 13:02

    Same Issue occured in 2017.4.19, when I moved the project from Unity Windows version to Linux (Ubuntu) version.

  6. zakdank

    Apr 27, 2018 06:50

    Receiving this bug in 2017.3.1f1.

  7. BadProxy-Latzo

    Apr 21, 2017 20:03

    Issue still exists in 5.6.0f3.

  8. MothNut

    Mar 19, 2017 23:27

    This issue repros for me pretty reliably Unity 5.5.2f1. If you need a repro, feel free to come by my office for a demo.

    The workaround of "just re-import everything" is not acceptable on large projects because doing so takes close to an hour to do, and this issue still pops up even after that completes, and this happens on practically a daily basis.

  9. Razorlance

    Jan 28, 2017 18:24

    I've just upgraded from 5.3 to 5.5.1f1 and ran into the same problem, I've tried removing just the Library/UnityAssemblies folder and the whole Library folder but still have the same problem, can anyone help? I did notice that when the assets were re-imported that the UnityAssemblies folder wasn't present in the Library folder, guess that means I need to manually do this, how?

  10. Westland

    Jan 22, 2017 09:23

    Ran into the issue in Unity 5.5.0f3 - as with Smali, deleting project's Library folder solved the issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.