I also am getting this issue. Saving/restarting didn’t help. Why is this not fixed yet?
Steps to reproduce:
1.) Create a new scene, using EMPTY template.
2.) Attempt to right-click in the Hierarchy to create any UI element of any kind (Canvas, Button, Text, Whatever)
3.) Throw laptop out window.
The only way to get things lined up easily in this state is to click the element in question, and go up to GameObject menu at the top, and for some reason UI menu is there (but at the very bottom, away from other “Create” options. See below:
Ya I’m having the same issue. 2020.3.1f1. Tried removing Unity UI and Text Mesh Pro packages, restarting windows and reinstalling.
Nothing worked.
Pls help. I can’t create a new project!!!
Also the Unity Collaborate Package has a corrupted .cs file. AdapterListView.cs.
Only half a line of code is contained in the .cs file. removing, restarting, and installing the Unity Collaborate package has no effect on this error.
SOLUTION:
I just fixed it by removing each package one by one, with a full system restart in between each removal.
And also a restart in between each installation of the packages again.
I have just encountered this same issue in Unity 2020.3.15f2. It was there just a few minutes ago and now it’s disappeared. Restarting Unity itself fixed the problem. I did not alter installed packages in any way.
Lol… Just realized that I’m having the same issue.
I’m using Unity Hub 3.0.0.beta-4 and Unity Editor 2021.3.16f1.
I guess I’ll stick to the GameObject menu for now.
If you still have issues, I solved it in a very brute force way. I downloaded a random UI asset from the asset store, imported it into my scene, made duplicates of the cavas and any gameobjects I needed and deleted the rest.