Unity: Fix IntelliSense and Error Checking in Visual Studio

preview_player
Показать описание
This video shows a quick way to re-link Unity and Visual Studio to fix:
- errors not showing up
- Unity-specific code not being recognized
- IntelliSense / Autocomplete for Unity code

If you see "miscellaneous files" rather than "Assembly-CSharp" at the top left of your Visual Studio Script this is how you fix it.

Рекомендации по теме
Комментарии
Автор

300 Random forum posts weren't able to fix the problem, but you were. Thank you so much, you have no ideia how much i appreciate your help

vinnysh
Автор

Thank you so much! I was puzzling for so long, browsing through Google on what to do, even trying to figure it out by myself. Such a clear and easy explanation.

nevinsean
Автор

Trying to self-teach/learn coding, having Visual Studio show you where errors are is so helpful. I updated Unity and was completely lost as to why VS was doing this. Lost the entire day trying to find the fix before finding your video rather late in the night. I've stared at experimental lines racking my brain trying to figure out why the compiler is running into errors only to finally look at the error list and see I'm missing a parentheses or a semicolon somewhere. THANK YOU!

zirmunchiez
Автор

Thank you! I was so confused on why this wasn’t showing up! This really helps!

thegamerpig
Автор

Thx, really huge help.
For futre reference to other ppl:
- try making sure the "Embeded Packages" and "Local Packages" boxes below in Preferences > External Tools are also checked
- uninstall and then reinstall Visual Studio extentions such as the "C#" one

diegomorales
Автор

I've been trying to fix this for hours! Thank you SO much!

PanzerSparrow
Автор

Sadly visual studio code was already selected and the problem isn't fixed

styliejoker
Автор

This was an immense help to me. Thank you so much!

VysePresidentGeo
Автор

THANKYOU!!! ur the best for making this, been trying to figure it out for way too long

kilawen
Автор

Thanks! I've been trying to fix this for hours!

edusan
Автор

looking for missing component for 2 hours. this helped me ty a lot

KaanMuradoglu
Автор

Thank you! Never thought id be happy to see an error😂

yqzfcmr
Автор

Thank you so much, this was a rlly big help!

dani.d
Автор

i love you, thanks! Its weird tho that i dont get any error corrections in visual studio when i just code without unity. But since im using it only for unity its fine for now

isown
Автор

that's amazing ty so so so so much u make my life easier

yassinmomo
Автор

Thank you! Was wondering about that. Problem solved.

aalperbayram
Автор

I have a problem with visual studio that some times gives me false errors and won't update checking the errors

HammaGaming
Автор

If you still have such problem just try to reload project. It helped me.

Greg-ihfz
Автор

Thanks. I encountered this error after a fresh install, forgot to configure this

BudgiePanic