Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.1.0a1
2019.4
2020.2
2020.2.3f1
2021.1
2021.2
Issue ID
1313492
Regression
Yes
Editor crashes on RaiseException when allocating huge amount of memory
Reproduction steps:
1. Open the user's attached "MicroTest.zip" project
2. Load SampleScene
3. Enter Play mode
-- Observe the crash
Reproducible with: 2019.1.0a1, 2019.4.20f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a5
Not reproducible with: 2018.4.32f1
Notes:
- an error message appears before the crash:
"UnityException: set_displayIndex is not allowed to be called during serialization, call it from Awake or Start instead. Called from MonoBehaviour 'NewBehaviourScript' on game object 'Main Camera'. See "Script Serialization" page in the Unity Manual for further details."
- in earlier versions (2019.1) the crash does not occur very often, only about 1 out of 10 times
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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a10
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.2f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.23f1