Unity 2022.2.13f1 breaks intellisense

Hello,

I am very new to unity DOTS. Recently i finally got everything working properly, and noticed a ‘new version of unity 2022’ released. I am one of those people who likes to try and keep everything 100% up to date so i updated everything to the new unity 2022.13f1 (believe i was using 12f1 before). However, this broke my syntax highlighting somehow. VS community 2022 still seems recognise unity for some parts;

But not the important parts like code generation and syntax highlighting (used to work before);

I tried the good ol standard steps of “Fixing intellisense in VS for unity” the internet suggests but nothing seems to work…

Does anyone have an idea of how to fix this?

Everything breaks intellisense, even my dog when I boop my nose against him like in the avatar picture.

This may help you with intellisense and possibly other Visual Studio integration problems:

Sometimes the fix is as simple as doing Assets → Open C# Project from Unity. Other times it requires more.

Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.

Barring all that, move on to other ideas:

Also, try update the VSCode package inside of Unity: Window → Package Manager → Search for Visual Studio Code Editor → Press the Update button

Also, this: No suggestions in Vscode

There are some good suggestions there. Unfortunately, after trying all those things, nothing still seems to work.

I uninstalled and re-installed my workspace completely (Both Unity, HUB and VS), and even that didn’t work… I created a new project, installed my packages, and using a fresh project with new .vsconfigs also doesn’t seem to help ._.

I am really at a loss at this point…

Next thing i tried was going through the Unity Download Archive, and downgrade back 1 unity version (2022.2.12f1). which… Also doesn’t work???

Appearently generating new project after a reboot fixed the intellisense after all of this. I think the problem was a bunch of .vsconfig files i missed on the nuking process.

Ported my assets over to a new project, and everything works fine now ^.^

Again, thanks @Kurt-Dekker

Did some more thorough testing, It appears that installing the entities packages seem to break the intellisense…
Without the entities and entities graphics packages, intellisense now works fine

Did you ever find a solution to this? I am trying to get setup to test out the DOTs 1.0 package and I am stuck literally out of the starting gate! Without any form of code complete this is going to be near impossible to learn with any sort of speed or accuracy…

Missing from your post is the statement of “I tried all the copious links already listed above multiple times.”

Did you?

Yes, I tried everything I know to do and am still having issues. Just like the OP, it appears to be linked to the existence of the entities package. Anytime I try to write code for entities Intellisense does not work, but ONLY for the code related to entities. I can still write Monobehavior code just find. But nothing regarding entities has any sort of error warnings, code complete, or code snippets.

This issue got me to buy a 3rd party non-microsoft IDE licence in the recent past. Haven’t used microsoft VS since.

Just tried a fresh 2022.3.1f1 LTS project with entities using microsoft VS. Intellisense / code completion seems to work now :confused:

Try the standard routine of uninstalling and reinstalling everything VS and Unity editor related. Usually works. Other than that i can only recommend all the things @Kurt-Dekker said :confused: .