Search Issue Tracker
Fixed
Fixed in 6000.2.0a11
Votes
0
Found in
2021.3.34f1
2022.3.17f1
2023.2.7f1
2023.3.0b4
6000.0.0b11
6000.1.0a7
6000.2.0a1
Issue ID
UUM-61588
Regression
No
Crash fill_runtime_generic_context when entering the Play Mode in a specific project
Reproduction steps:
1. Open the attached project "CrashRepro"
2. Enter the Play mode
Expected result: Play mode starts
Actual result: Editor crashes
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.7f1, 2023.3.0b4
Reproducible on: Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace:
{noformat}0x00007ffb528ef0dd (mono-2.0-bdwgc) fill_runtime_generic_context (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-generic-sharing.c:2985)
0x00007ffb528ef3d9 (mono-2.0-bdwgc) mono_class_fill_runtime_generic_context (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-generic-sharing.c:3089)
0x00007ffb528de857 (mono-2.0-bdwgc) mono_rgctx_lazy_fetch_trampoline (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-trampolines.c:1020)
0x00000258db7308c6 ((<unknown>))
0x00000258408e626b (Mono JIT Code) System.Collections.Generic.List`1<T_REF>:GetEnumerator (){noformat}
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 6000.2.0a11):
This is partly a problem with user code. the method signature for InitializeOnEnterPlayMode does not match the required signature for InitializeOnEnterPlayMode.
To fix it now update the signature to match the documentation https://docs.unity3d.com/6000.0/Documentation/ScriptReference/InitializeOnEnterPlayModeAttribute.html
That we crash if the signature is not valid instead of giving a proper error message has been fix