Search Issue Tracker

Active

Votes

0

Found in

6000.2.7f1

6000.3.0b4

6000.4.0a1

Issue ID

UUM-121303

Regression

No

Crash on Coroutine::CleanupCoroutineGC when running tests that assigns a Coroutine instance using FormatterServices.GetUninitializedObject

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open “SampleScene”
3. Go to “Window/General/Test Runner” and open the EditorMode tab
4. Press the “Run All” button at the bottom right of the window
5. Observe the crash

Reproducible with versions: 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Couldn’t test with versions: 6000.0.59f1 (compiler errors)

Reproducible on: macOS 15.6.1 (M1 Max), Windows 10 (by the user)
Not reproducible on: no other environment tested

First few lines of StackTrace:
0x00007FFC604D0960 (Unity) Coroutine::CleanupCoroutineGC
0x00007FFC5F64C9FD (Unity) Coroutine_CUSTOM_ReleaseCoroutine
0x000001E8B5AEF70A (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Coroutine:ReleaseCoroutine (intptr)
0x000001E8B5AEF613 (Mono JIT Code) UnityEngine.Coroutine:Finalize ()
0x000001E8B59FBE2C (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr)

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.