C
C#7d ago
TRAP

Visual Studio and Unity C# integration issue

WHen opening scripts from Unity into Visual Studio the intellisense is not working. I have set it so Unity correctly opens Visual Studio 2022 for scripts. I have also made sure that the "Game Development with Unity" package is installed and on my current VS version. I have tried adding extensions like "Unity Code Assist Lite" from the extension manager, and in Unity I have tried "Reimport All" and have made sure that the "Visual Studio Editor" in package manager is up to date. The scripts all work and open file once saved and used, I just have no intellisense to complete code or list members of something.
No description
5 Replies
Buddy
Buddy7d ago
$unitybug
MODiX
MODiX7d ago
If intellisense is not working for Rider / Visual Studio, follow these steps.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Close the editor and re-open it again by double-clicking a script file.
TRAP
TRAP7d ago
Thanks, there was an issue with my version control (GitHub) which was messing with the IDE. This issue went away once the repo was fixed!
Buddy
Buddy7d ago
$close
MODiX
MODiX7d ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server