I recently managed to get my ECS workflow up and running. Deceded to do update the unity editor, and it broke my intellisense. (Using VS community 2022, and Entities 1.0.0-pre.65 / Entities.Graphics 1.0.0-pre.65)
Created fresh projects on both 2022.2.12f1 and 2022.2.13f1, and intellisense works just fine, until i add the entities packages… (Swapping mono-versions and nuking .vsconfig files didn’t solve it, regenerating project files gives me a weird warning on 13f1 and also doesn’t help)
Unfortunately i was to eager to uninstall my previous unity editor version. Guess ill be digging installers from the unity archive until i get one working again
I just completely re-installed my entire unity workflow. Even chased down all left over unity and visual studio files i could find.
Unfortunately in my case, i remain with the same issue: Intellisense works perfectly when i create a new project, but after i install the entities packages, i get 2 un-clearable errors, and burst hanging itself compiling 2/0 libraries;
Reloading the editor fixes this, but both before and after editor reboot, intellisense remains broken. Trying any tips on “How to fix intellisense” online don’t work as well (I tried them all).
When regenerating project files i get the following warning;
Seems like i will have use rider IDE until a future version solves this somehow… I just hope this happens before the 30 day trail ends lol (otherwise its going to cost me money…)
I suspect you may have the wrong development modules in Visual Studio installed. In the Visual Studio installer, I currently have .NET desktop development, Desktop development with C++, and Game development with Unity. Also I’m on Visual Studio 2022. 2019 stopped working with Entities in newer Editor releases as they upgraded the Roslyn version they use with source generators.
Uninstalled everything again, installed visual studio 2022 according to your boilerplate, and then unity, and NOPE it still doesn’t work unfortunately… Thanks for the tip tho.
Did a little reading on assembly definitions. They seem a cool feature, i only wish they did not require you to manually feed your scripts usings into them.
After adding them (to a very simple freshly generated boilerplate entities project), vs code seemed to do intellisense, for 50% (It did code completion on basic unity things, but not entities things. And yes, i added entities asmdef to the assembly definition references). Then it broke again after a restart. And remained broke after a vsproj and sln file nuking and restarting everything…
I do appreciate your tip very much tho, it almost worked.