Where can I download the old UnityVS 1.8 ?(used to work great). I updated to last version which I painfully regret.
Crashes on every breakpoint. Repro: - New Unity project, add monobehaviour script. - Open the script in VS, add Debug.Log("blabla") in OnUpdate, attach unity debugger, - Run Unity - add a breakpoint on said line, watch it crash.
Microsoft connect does not have a project with "Unity", "Visual Studio 2010 Tools for Unity" or any subkeyword.
When it works it's nice but it crashes Unity a lot. Here's a 100% reproducible crash for me: 1. Open a source file that's used in the scene in Visual Studio 2. Edit that file. Press Save. 3. Press Debug. 4. Go to Unity - it has crashed while compiling.
Have been using UnityVS for years, surprise, the first version after their acquisition from Microsoft (1.9) freezes Unity entirely and crashes Visual Studio 2010.
Initially tried the migration instructions - crash. Tried removing UnityVS from my project completely, then adding it back - crash. Tried completely uninstalling UnityVS from machine, removing entirely from project, clearning, rebooting, re-downloading, re-installing, re-importing, CRASH...
...with UnityVS and Unity crashing. I can pretty much predict when it is going to happen.
When everything is working fine I will make changes in VisualStudio, build, and a half second later I can see the Unity console window display that Unity detected a change and is building on its side.
When I know that VisualStudio is going to crash on a breakpoint is when I make a change in the code in Visual Studio, build, and Unity DOES NOT react to this occurrence. The, guaranteed, it crashes right when it gets to the breakpoint.
This might be a Unity issue, I'm not sure, but for some reason Unity doesn't realize that the files have changed and this leads - ALWAYS - to a crash if a breakpoint is set.
This doesn't solve my "hang on startup" issues; however, I have mitigated them by not using a networking resources for 3 seconds after startup (the editor seems to have resource contention issues if you use the network to soon after pressing play.)
Thanks Sebastien, looking forward to the update.
VSTU is a critical resource as I find myself using Unity for more and more things outside of gaming projects (e.g. https://www.youtube.com/watch?v=cJj7p4FhC_k#t=19 )
I am building dashboards for middleware and backend server products, and other complex interactions. Being able to step through is a HUGE timesaver.
Thanks for the update! I am getting frequent periodic freezes in visual studio, where it will lag for multiple seconds randomly. Is there an easy way to profile Visual Studio to see what's going on? Maybe a log for UnityVS that would be useful?
Jeremy, i saw for months lots of comments about this behavior related to antivirus programs. Unity3D is putting a lot of I/O pressure on project files. Can you try to setup an antivirus exclusion for your project + devenv instance + Unity executables ? Then retry after restarting Unity & VS. Same thing can happen if you use encrypted files for your project (files in green in your windows explorer).