Hello,
I’m having a weird problem with VSCode and the UI package: it’s not recognized and shown as missing/error in the editor, but then the code compiles and works properly in Unity itself. I’m having this problem on my main PC, but on a laptop with the same exact project files and Unity version (2020.3.19f1 LTS) everything works as intended, and the library is loaded with intellisense properly in VSCode.
I’ve tried to delete and regenerate the project files countless times already, package manager shows I have the UI package installed and even tried another project, to no avail.
What can I do to fix this? I found similar threads online but nothing quite worked so I’m looking for a solution. Thanks in advance to anyone that can help
This is the third or fourth time I’ve seen issues about UnityEngine.UI in the past 2 days… is this helpful?
It did solve it for me too, thanks! I completely missed that post when looking somehow. That’s a really strange and specific issue though…