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
- Editor crashes when loading RenderDoc with Graphics API set to OpenGLES2 or OpenGLES3
- [Windows] Development Build with no scenes shows a purple screen when using OpenGLES3 graphics API
- Shader variants take too much memory at runtime
- [HDRP][VFX] Output mesh with default shader is incorrectly sorted before the HDRP fog
- Error "'GamepadSpeakerOutputType' does not exist in the namespace 'UnityEngine'" occurs in the Console when building a project
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