Search Issue Tracker

Fixed in 2022.2.X

Fix In Review for 2021.3.X

Fixed in 2022.1.X

Planned for 2019.4.X, 2020.3.X

Votes

14

Found in

2019.4

2020.3

2020.3.25f1

2021.2

2022.1

2022.2

Issue ID

1400774

Regression

No

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

Serialization

-

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. Response avatar

    Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a13

  2. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in 2022.1.2f1

Comments (1)

  1. 78920712fa2cb18651367a322bd424f7?d=mm

    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.