When i open vs in unity to code the starting up loading screens showed me but it stucks at the mid. I still can code but it won’t change something in the game. I have to close unity and open it again if i want the code to work
Here is a picture
Close Unity and VS. Then start Unity again. Is Visual Studio selected as your External Script Editor in Unity (Edit > Preferences > External Tools)? If not, select it. Also make sure that the Visual Studio Editor is installed in Window > Package Manager.
If VS still gets stuck when Unity launches it, try to reinstall VS.