Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Bug report: Debugger crash when using 4.6 backend

Discussion in 'Scripting' started by John-Chen350, Jul 14, 2018.

  1. John-Chen350

    John-Chen350

    Joined:
    Jan 14, 2015
    Posts:
    52
    Dear all,

    I've found a bug that prevents me from debugging my project anymore. Unity itself crashes again and again when a breakpoint is triggered. The project is a bit complex so I cannot upload it altogether, nor did I find any way to reproduce that in other projects. Yet, I've managed to debug Unity itself in x86 debugger, which shows the crash reason to be:

    Assertion at ..\\mono\\mini\\method-to-ir.c:7604, condition `!sig->has_type_parameters' not met

    Meanwhile, I've examined which method causes the JIT compiler to fail. Surprisingly it turns out to be UnityEngine.Component.GetComponentInParent<T>, not related to my code even for a bit. So it seems that's a Unity bug and I'm using the latest version of LTS release: 2017.4.6 since 2018.2 still don't have Substance's support for mobile platform (what a shame).

    Full stacktrace is attached below.

    Best Regards
     

    Attached Files:

  2. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,130
    Could you please submit a bug-report as explained in this document:
    https://unity3d.com/unity/qa/bug-reporting

    Posting crash bugs in the forum does not lead to any resolution in most cases. Unity will most likely not investigate the crash, if you don't submit a bug-report.
     
    karl_jones likes this.