Unity: Errors and IntelliSense STILL Not Working even after changing External Tools? Try this Fix!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
when working in unity a common problem with working with the script is when it detaches from unity and it doesn't show intellisense or errors anymore sometimes just changing the external tool setting works but sometimes it's a little trickier than that so I found another thing you can try if the first thing isn't working so if you notice right now I have several errors in my code nothing showing and in the upper left it says miscellaneous files so so we know that Visual Studio isn't actually recognizing any of the the unity code it can't really debug it so if I go over to Unity the first thing you want to do is check to see under edit preferences that your external tools is set so if it says open by file extension you'd want to change it to your editor mine is visual studio and that's the common thing that usually fixes it and then when I go it should be connected fine it should show assembly C up here and my error should show and that typically would fix it but sometimes there's a little more that needs to be done now after struggling trying to find this for a while I did find something else you can try what you can do is go up under View and check solution Explorer and in a couple of cases now I found if you look it says assembly C unloaded so for some reason the assembly C setting is not actually being applied and all we need to do is rightclick on that and say reload project with dependencies it should now show assembly C at the top and notice it's starting to show my errors so it showed my debug log it's missing quotes it's missing a semicolon and my if statement is all messed up and debug log here needs a cap so now if I save it it should be fine um I'm going to go ahead and close it and from then on it seemed to fix things so it didn't seem like something you need to keep resetting so if I close visual studio and go back into it it should stick and still have the assembly C so if the external code setting wasn't working I'd say give this a try
Info
Channel: Digestible
Views: 21
Rating: undefined out of 5
Keywords: Unity, Visual Studio, C#, Errors not showing, Intellisense not working, Unity Script error, Miscellaneous Files
Id: 4KoJ7Dw2rDI
Channel Id: undefined
Length: 2min 24sec (144 seconds)
Published: Mon Mar 11 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.