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

Serialization

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a10

  2. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.2f1

  4. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.23f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.