Search Issue Tracker

Fixed

Fixed in 6000.0.74f1, 6000.3.14f1, 6000.4.4f1, 6000.5.0b5, 6000.6.0a3

Fix In Review for 2022.3.76f1

Votes

0

Found in

2022.3.74f1

6000.0.71f1

6000.3.11f1

6000.4.1f1

6000.5.0b1

6000.6.0a1

Issue ID

UUM-137724

Regression

No

Crash on mono_jit_runtime_invoke when disabling the Debug Mode with the Code Coverage enabled

Code Coverage

-

How to reproduce:
1. Create a new Unity project
2. Install the "Code Coverage" package
3. Go to Window -> Analysis -> Code Coverage
4. Enable the Code Coverage with the Debug Mode off
5. Enable the Debug Mode
6. Disable the Debug Mode and observe the results

Expected results: Editor doesn't crash
Actual results: Editor crashes

Reproducible with: 1.3.0, 2.0.0-pre.1 (2022.3.74f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1)

Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested

Notes:
- Sometimes also reproduced by switching Code Coverage support on and off while Debug Mode is off
- Repeat steps 4-6 if it doesn't crash

First lines of stacktrace:

#0 0x0000017234ea1c in mono_jit_runtime_invoke
#1 0x000001724d4b64 in do_runtime_invoke
#2 0x000001724d4aa4 in mono_runtime_invoke
#3 0x00000105e12b58 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)

  1. Resolution Note (fix version 6000.5.0b5):

    Fixed in 6000.5.0b5

  2. Resolution Note (fix version 6000.4.4f1):

    Fixed in 6000.4.4f1

  3. Resolution Note (fix version 6000.3.14f1):

    Fixed in 6000.3.14f1

  4. Resolution Note (fix version 6000.0.74f1):

    Fixed in 6000.0.74f1

  5. Resolution Note (fix version 2022.3.76f1):

    Fixed in 2022.3.76f1

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.