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
7000.0.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
- Editor or player crashes when using a deeply nested Particle System with a sub-emitter that has multiple references
- [Metal][iOS] Application freeze when switching between portrait and landscape orientation on iPad Pro
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
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