Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.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
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.'
-
albancarl
Aug 28, 2024 07:22
This strange bug kept showing up repeatedly, and it used to really frustrate me, but thankfully, it's fixed now. I'm so relieved it got resolved before my thesis submission deadline. Now, with the help of thesis support from Germany, I can work on and submit my thesis without any worries!
(thesishelp.de/) -
anderson2134
Jul 09, 2024 11:04
When deserializing an array of a type that includes a nested fixed-size buffer field, the editor can sometimes crash. This issue often arises due to the complexity involved in managing memory for fixed-size buffers. Proper handling and validation of these buffers are crucial to prevent memory alignment problems or corruption during the deserialization process. Ensuring these buffers are correctly managed can help mitigate such crashes and improve stability.
(domyonlineclass.us.com) -
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.
eazyresearch.com/services/primary-homework-help/ -
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a13
Resolution Note (fix version 2022.1):
Fixed in 2022.1.2f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.4f1