Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 2017.1, 2017.2

Votes

5

Found in

2017.1.0f3

Issue ID

930062

Regression

No

Unity crashes when debugging using .NET 4.6

Mono

-

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

  1. Response avatar

    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

Comments (24)

  1. 36c65e3934745df83910152c6a077e4a?d=mm

    shubhamswaraj2021

    Aug 18, 2020 16:51

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

  2. C55ffbcb705a74889cd8a0e3100ea771?d=mm

    Pnvanol

    Jun 25, 2019 15:44

    still broken in 2019.1

  3. 5f34ac2d0e7420cf12eacc86637e48d3?d=mm

    KevinDEX

    Jan 29, 2019 15:50

    KYUNGSUNGCHO - deleting all my watches worked as well

  4. Baa62e494437d848a94e3fe5eca7e847?d=mm

    KyungSungCho

    Jan 06, 2019 08:39

    I had the same problem.
    So I deleted all the items from the Visual Studio Watch Window Debugger. So my problem was solved.
    Perhaps my problem was running GetComponentInChildren() in the watch window.

  5. 553dcde8820af03257c20043e8ffc274?d=mm

    radix_greg_presland

    Sep 20, 2018 15:36

    Continuing to happen in Unity 2018.2.8f1 with Visual Studio extension _Visual Studio 2017 Tools for Unity_ ver 3.8.0.6.

  6. 69df902e018a120028894eb818234e12?d=mm

    cgrow67

    Sep 17, 2018 20:40

    This isn't resolved at all.
    Happens to me in 15.4 all the time.

  7. E35ac6b49ef39d217d72ad0b48794933?d=mm

    rfgsoftware

    Sep 09, 2018 10:16

    I have the latest version of Visual studio for Mac and Unity 2018.2.6f1 . I have checked and no update are required on Visual Studio. When I try to attach the debugger, Unity crashes.

  8. B1c67fc39ec877b79470a9c7e886fe4e?d=mm

    amcakebread

    Aug 16, 2018 11:08

    still completely broken on Unity 2018.2.1f1 and VS 15.7.5

    VS freezes and debugging is more or less completely impossible

    I am beginning to think developing using Unity is a big mistake

  9. 19bcab4c25eb264b21619cd7a8a15481?d=mm

    guneyozsan

    Jul 28, 2018 23:36

    I still have this on 2018.2.0f2 and 2018.2.1.f1 with Visual Studio 15.7.5.

  10. 1b2fd270fc77cf3a57d615441e15973e?d=mm

    olesa79

    Jul 05, 2018 14:26

    I just had this problem with VS 15.7.4 (with tools for unity 3.7.0.1) and unity 2018.1.6f1.
    After doing a little testing, I could only reproduce the problem in one class that implements IDropHandler and another that implements IBeginDragHandler/IDragHandler/IEndDragHandler.
    Unity breaks and the breakpoint highlights in VS as expected, but Unity crashes immediately.
    In other classes (I only tested 3-4), debugging works just fine.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.