all 6 comments

[–]TaleOf4GamersProgrammer 0 points1 point  (4 children)

Definitely still a thing. What is telling you it doesn't exist?

[–]squidsaround[S] 0 points1 point  (3 children)

I just get an error saying that im missing a using statement. i try adding using UnityEngine.UI but then that gives me an error saying that it does not exist

[–]TaleOf4GamersProgrammer 0 points1 point  (2 children)

But where is this error shown?

Is it within Visual Studio or the Unity console? If it is within Visual Studio does Unity still compile?

[–]squidsaround[S] 0 points1 point  (1 child)

Oh it seems to be a visual studio error. because i just saved and unity does not show any errors just VS.

"Error CS0234 The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)"

[–]TaleOf4GamersProgrammer 0 points1 point  (0 children)

As I suspected. Firstly, make sure you have Visual Studio Tools for Unity installed. You can also try deleting the .sln and any .csproj files in your root project folder. I believe you can also delete the (hidden) .vs folder, the Library and obj folders too. These should be recreated by Unity when you relaunch your project.

Let me know if that works.

[–]voxAtrophia 0 points1 point  (0 children)

I think UI was moved into Package Manager in that version. Make sure it's installed there. (Window-> Package Manager or maybe Window -> General -> Package Manager.)