- Home /
Unity freezes when opening Visual Studio
I use Visual Studio Community 2015 in Unity for a few month now and it always worked well. But since today Unity won't open a script in VS, but instead freezes. Everything woks fine when using MonoDevelop, but I prefer VS. Thanks in Advance!
Answer by ycode · Jul 08, 2016 at 02:21 PM
I experienced the similar situation, so I'm leaving a note.
In my case, the previous Unity Editor process had not completely finished and remained for some reason. Killing all Unity Editor processes could fix it. or just reboot your OS
Answer by emersondesign · May 22, 2017 at 07:27 AM
This drove me nuts ... but a reboot fixed for me too. Never found out why but VS 2015 just wouldn't work .. instantly froze Unity if I tried to edit a script (Mono Dev worked fine but who wants that! heh..)
Answer by crumby_shirt · Mar 03, 2020 at 02:00 AM
I've been having this problem with it freezing in version 2019.3.2 and 2019.3.1 with visual studio 2017. Everything was working for many months prior to that. I tried killing off all the unity tasks a few times with no luck. I also make sure to update all my packages after the update and I re-imported all assets. None of these things seems to be the solution to unity freezing when I try to open a script.
Your answer
Follow this Question
Related Questions
Visual Studio breakpoint freezes the Unity editor 0 Answers
Accessing other scripts in C# with Visual Studio. 1 Answer
Visual Studio Community (Monodevelop 2) and Task Highlighting 0 Answers
Visual Studio 2015 causing Unity to hitch if left open. 0 Answers
am trying to scaling my ground size in z direction until my player is moving, 2 Answers