4 ways to FIX ‘using UnityEngine.UI’ Error in Unity.

If you are having this same issue :

  1. Click on Assets->Open C# Project.
  2. Update the VsCode package inside of Unity: Window -> Package Manager -> Search for Visual Studio Code Editor -> Press the Update Button in the bottom right corner of the package manager window to update your VsCode package.
  3. Downgrade your C# plugin for VsCode.
  4. Right Click in your project view -> Reimport All. (this should re-import all your assets and so to say “refresh” your project).


Helpful info found here.

Leave a comment

Your email address will not be published. Required fields are marked *