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
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
- Actions in UI Builder Preview mode are not fully reset after exiting the Preview mode
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