Search Issue Tracker
Fixed in 2021.3.31f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
0
Found in
2021.3.29f1
2022.3.7f1
2023.1.8f1
2023.2.0b4
2023.3.0a1
Issue ID
UUM-45293
Regression
No
Crash on mono_method_to_ir when running a specific Test Runner test
Reproduction steps:
1. Open the attached project “TestCrash”
2. Open Window > General > Test Runner Window
3. Run All Play Mode tests
Expected result: Tests are run
Actual result: Editor crashes
Reproducible with: 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Could not test with: 2021.3.29f1 (NullReferenceException: Object reference not set to an instance of an object
UnityEngine.TestTools.TestRunner.PlaymodeTestsController.GetController () (at Library/PackageCache/com.unity.test-framework@1.1.33/UnityEngine.TestRunner/TestRunner/PlaymodeTestsController.cs:64))
Reproducible on: macOS 13.5 (M1 Max), Windows 10
First few lines of the stack trace:
{{#0 0x000002877aa1ac in mono_method_to_ir}}
{{#1 0x0000028778b314 in mini_method_compile}}
{{#2 0x0000028778d828 in mono_jit_compile_method_inner}}
{{#3 0x00000287791430 in mono_jit_compile_method_with_opt}}
{{#4 0x0000028780c1f4 in common_call_trampoline}}
{{#5 0x0000028780bcf4 in mono_magic_trampoline}}
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note (fix version future release):
Patch applied to the Unity fork of Mono.
https://github.com/Unity-Technologies/mono/pull/1796