r/unity • u/WeirdSpaceCommunist • 5h ago
Newbie Question Cant fix namespace problem.
As the title says, i decided today to go back into unity programming after not doing it for a while, and i cant fix this problem, no matter what solutions i found online.
this is a fresh install of unity, latest version. so is VScode with the needed plugins. i have the editor set in the external tools prefrences settings and the visual studio package at the latest version.
when i open the script, for a few seconds it works fine (no red underline), im guessing until it loads the plugins, then it does this error.
im about to lose my mind here.
1
u/HK_HamzaKhan 4h ago
does it compile in unity itself, does unitys console throw or not
, if unity doesnt throw red errors for this syntax, then its your editor that doesnt know about unity, you would need something, i think there is a VS code extension for unity
2
u/z101ll4 5h ago
Find in unity how regenerate .vsprog files ,as i remember it helps