farima4
farima4

Reputation: 23

missing the package UnityEngine.UI

I am new to learning how to code with unity (I am using version 2020.3). I have been looking at different tutorials to make my first game and I want to add a score counter for collectable items. all Tutorials that I have watched use the package UnityEngine.UI and I dont have it. I have seen people with the same problem but there werent any good answers. They were saying that you can find it in windows > package manager and I do find it and it is installed but I cant use it. This question might be dumb but Im new to unity so I dont know much. thanks in advance!

Upvotes: 1

Views: 734

Answers (2)

Silky
Silky

Reputation: 26

I had the same issue, but with Visual Studio Community 2022 instead of VSCode. It turned out to be the fact that the project path had a percentage sign in it.

So "c://Project%/" would not work. Renaming it to "c://Project/" fixed it.

However my coworker had the same problem and it didn't work for him.

Upvotes: 0

Jackhammer
Jackhammer

Reputation: 154

I had the same issue as you i fixed it by removing it from package manager and then re-installing it.

Upvotes: 1

Related Questions