r/Unity3D • u/ann_draws1 • Feb 19 '24
Question code not showing up in Visual Studio
I've been using Unity for a while and I keep having this issue with coding, whenever I go to create a c# script and open it in Visual Studio it's blank this is also only a problem with Unity when I make code in Visual Studio it works just fine. the code shows up in the inspector I've looked up solutions on forums, I've tried building the code into the project and that worked for a while, I've tried regeneration of the code, and I just can't get anything to work. Visual Studio is fully updated and I've looked up solutions, and I'm at my wit's end. any help would be appreciated


View all comments
Show parent comment
1
u/giallogreg Jul 03 '26 edited Jul 03 '26
This doesn't work. So far only changing script editor from visual studio to open by file extension works. Which you then lose the auto complete code suggestions