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
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
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