Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X, 2022.1.X



Found in







Issue ID




Editor crash when deserializing an array of a type with a nested fixed-size buffer field



Reproduction steps:
1. Open the attached 'FixedBufferOverrideCrash' project
2. Open the 'TestScene'
3. Select the 'TestPrefab' and observe it in the Inspector
4. Add an element to the FixedSizeBufferCrash array
5. Save the Scene
6. Enter the Play Mode and observe the crash

Reproducible with: 2019.4.34f1, 2020.3.27f1, 2021.2.10f1, 2022.1.0b7, 2022.2.0a2

The application crashes with a message:
'The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!]
AcceleratorClientConnectionCallback - disconnected - :0
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
QObject: Cannot create children for a parent that is in a different thread.'

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a13

  2. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.2f1

  3. Resolution Note (fix version 2021.3):

    Fixed in 2021.3.4f1

Comments (2)

  1. claudiavalentine

    Jun 23, 2022 05:51

    I also faced this bug but now It's fixed after re-installing the program again I didn't know the exact cause of this bug I'm glad that it's been fixed now.

  2. SahasRai

    May 12, 2022 10:59

    Now I have uninstalled and re-installed unity hub, unity editor and all the files and folders.
    Now when I installed unity hub and tied to install editor, I got unity new version 2021.3.2f1
    I installed that new version and for now I have not faced an error like this.
    Any ways if fixed this error in this new version, thank you so much!!

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.