Intellisense only works for missing Semicolons and missing Brackets

Intellisense only works for missing semicolons, missing brackets, and nothing else. Missing methods, missing arguments, anything else. How do I fix this?

How so? When you write “transform.” it doesn’t show you suggestions?
When in Unity you go to Edit > Open C# Project, does it open your IDE?
Are you using VS Code or VS? Did you install the package in the package manager?
Maybe rewatch the VS Code lecture in the beginning of the course.

Could be a number of things. If you are using unity code, follow this guide: VS code with Unity.

However, Microsoft has stopped including the build tools with Omnisharp (the driver of the c# extension) which, coupled with the fact that unity doesn’t play well with .net 6, means you need to download it separately from Visual studio downloads
Install build tools for visual studio 2022. The only part you need to install is the .net desktop build tools.

The other option is to downgrade the C# extension to 1.24.1.

In future, check the console for errors and warnings and add them to your question. Without information it makes it hard to help.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms