Search Issue Tracker

Fixed

Fixed in 6000.0.57f1, 6000.2.2f1, 6000.3.0a5

Votes

5

Found in

6000.0.53f1

6000.1.9f1

6000.2.0b9

6000.3.0a1

Issue ID

UUM-112001

Regression

No

Crash on mono_domain_jit_foreach when performing various Unity operations

-

A recurring crash issue in the Unity Editor has been observed, affecting various workflows. These crashes have been reported to happen when:
1. Opening a Unity project
2. Opening a Scene
3. Entering Play Mode
4. Compiling scripts after making changes
5. Creating a ScriptableObject
6. Installing a Package

Reproducible with versions: 2021.3.23f1, 2022.3.62f1, 6000.0.53f1, 6000.1.9f1, 6000.2.0b9, 6000.3.0a1

Reproducible on: Windows 10, Windows 11 (by the reporters)

Note: Not reproduced by CQA

First few lines of the stack trace:

{noformat}0x00007FF8485D42F5 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\mono-debug.c:663] find_method
0x00007FF8485D4378 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\mono-debug.c:679] mono_debug_find_method
0x00007FF848613E1C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\etw-profiler.c:158] method_load
0x00007FF8484C6477 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1075] mono_domain_jit_foreach
0x00007FF8484C5F3F (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1035] mono_domain_foreach {noformat}

{noformat}0x00007FFF421F6426 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1075] mono_domain_jit_foreach
0x00007FFF421F5F3F (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1035] mono_domain_foreach
0x00007FFF423448BE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\etw-profiler.c:315] Private_EventControlCallback
0x00007FFF423431B5 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\CLR-ETW-Generated.h:426] McGenControlCallbackV2
0x00007FF819E608ED (ntdll) TpSetWaitEx{noformat}

{noformat}0x00007FFF500A4209 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\etw-profiler.c:213] method_load
0x00007FFF4FF56497 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1075] mono_domain_jit_foreach
0x00007FFF4FF55F5F (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1035] mono_domain_foreach
0x00007FFF500A49CE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\etw-profiler.c:315] Private_EventControlCallback
0x00007FFF500A32C5 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\CLR-ETW-Generated.h:426] McGenControlCallbackV2 {noformat}

  1. Resolution Note (fix version 6000.3.0a5):

    Patch applied in Unity fork of mono: https://github.com/Unity-Technologies/mono/pull/2173

  2. Resolution Note (fix version 6000.2.2f1):

    Patch applied to the Unity fork of Mono: https://github.com/Unity-Technologies/mono/pull/2179

  3. Resolution Note (fix version 6000.0.57f1):

    Patch applied in Unity fork of mono: https://github.com/Unity-Technologies/mono/pull/2180

Comments (2)

  1. zerokiri

    Jul 26, 2025 04:18

    Still occurs on 6000.1.13f1

    ========== OUTPUTTING STACK TRACE ==================

    0x00007FFD953B6426 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1075] mono_domain_jit_foreach
    0x00007FFD953B5F3F (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\domain.c:1035] mono_domain_foreach
    0x00007FFD955048DE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\etw-profiler.c:315] Private_EventControlCallback
    0x00007FFD955031D5 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\CLR-ETW-Generated.h:426] McGenControlCallbackV2
    0x00007FFEA6B236DA (ntdll) RtlTryAcquireSRWLockShared
    0x00007FFEA6B23333 (ntdll) RtlTryAcquireSRWLockShared
    0x00007FFEA6B22B3D (ntdll) EtwDeliverDataBlock
    0x00007FFEA6B2295B (ntdll) EtwEventProviderEnabled
    0x00007FFEA6B9DC55 (ntdll) TpCallbackMayRunLong
    0x00007FFEA6BB2789 (ntdll) RtlAcquireSRWLockExclusive
    0x00007FFEA510E8D7 (KERNEL32) BaseThreadInitThunk
    0x00007FFEA6B5C34C (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========

Add comment

Log in to post comment