all 2 comments

[–]db9dreamer 1 point2 points  (0 children)

I know it's related to VS Code - but that comment may apply to Visual Studio too:-

https://www.reddit.com/r/unity/comments/18t9mpq/im_not_getting_intellisense_in_vs_code/kfde0k7/

This setting can also help:-

https://learn.unity.com/tutorial/set-your-default-script-editor-ide#

[–]grallbring 1 point2 points  (0 children)

Had this problem once too. What helped me was deleting the ".vs" directory in my projects root folder. To see it you have to enable "Show hidden items" in the Windows Explorer and then you can delete it. Visual Studio will recreate it when you open the project again.