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.'
Comments (6)
-
kellyward720
May 15, 2025 08:21
This issue highlights how complex serialization in Unity can lead to unexpected crashes, especially with nested structures. Developers need to be cautious with fixed-size buffers. For students managing both coding and coursework, writemyassignment.ie/pay-for-assignment offers support to ease academic pressure while tackling technical challenges.
-
jashonroy739
Apr 28, 2025 17:08
I used to get pretty annoyed by this weird glitch that kept popping up, but fortunately it's fixed now. I'm quite glad it was settled before the deadline for turning in my thesis. I can now focus on and turn in my thesis without worrying thanks to thesis support from the UAE!
(thesisbinding.ae/) -
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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