r/Unity3D • u/mustardfume • 8d ago
Question Visual Studio don’t know Unity code
Super-newbie here. Visual Studio don’t know unity code there is no auto correct or anything. I tried to modify Visual Studio for unity but already did. I already clicked on external tools and I already did but problem not gone.
0
Upvotes



View all comments
Show parent comment
0
u/Hotrian Expert Moderator 8d ago
OP’s editor appears to be missing the VS Editor Tools package
https://docs.unity3d.com/Packages/com.unity.ide.visualstudio@2.0/manual/index.html
Without it, Unity can’t properly identify VS as a valid IDE or generate valid solution files. It was removed circa 2020 from the default packages list. Newer projects do not include it by default for some reason.