Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
5
Found in
2017.1.0f3
Issue ID
930062
Regression
No
Unity crashes when debugging using .NET 4.6
Steps to reproduce:
1. Download FarmManagementGame.zip project and open
2. Set up a breakpoint in GrowingState.cs at line 30
3. Attach to Unity and press play
4. Press one of the white squares wait a bit and repeat this step two more times
5. When breakpoint triggers step into it
Results: editor crashes when stepping into line 31. Doesn't reproduce when using .NET 3.5
Note: .NET 4.6 was introduced in 2017.1, 2017.2
Reproduced with: 2017.3.0a7 2017.2.0b2, 2017.1.0f3
Comments (24)
-
Reticulatas
Aug 27, 2017 00:38
FIXED
Updating to Visual Studio 15.4 preview build resolves this issue.
-
Reticulatas
Aug 22, 2017 01:03
Attempted to use VS2015 with VS tools for unity. Attempted steps:
1) Attach to Unity
2) Set breakpoint
3) Run game
Result: Breakpoint is never hit1) Attach to Unity
2) Run game
3) Set breakpoint
Result: Unity Editor crashes when breakpoint is hit.So it seems to matter when you put the breakpoint.
-
Reticulatas
Aug 21, 2017 15:03
I have this as well. 100% consistent silent unity crash when using VS2017 and hitting a breakpoint.
There is a dupe of this here: https://issuetracker.unity3d.com/issues/unity-crashes-when-debugging-with-vs2017-when-using-net-4-dot-6
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Resolution Note (fix version 2017.3.0f3):
Fix tested with:
Visual Studio tools for Unity - 3.9.0.3
Visual Studio 2017 Version 15.9.4