Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X

Votes

0

Found in

2022.3.62f1

6000.0.54f1

6000.1.14f1

6000.2.0f1

6000.3.0a4

6000.4.0a1

Issue ID

UUM-113871

Regression

No

Editor crashes with prompt "The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!]" when adding a serialized field to a precompiled DLL

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. In the menu bar, select “Crash > Test”
3. Repeat step 2

Expected result: Editor continues to run
Actual result: Editor crashes with prompt “The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!]“

Reproducible with: 2022.3.62f1, 6000.0.54f1, 6000.1.14f1, 6000.2.0f1, 6000.3.0a4

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Errors "UnityException: set_displayIndex is not allowed to be called during serialization" and "UnityException: Repaint is not allowed to be called during serialization" are present in the Editor.log
- No Stacktrace is present in the Editor.log
- The bug reporter is not present after the crash
- Reproducible with Mono and IL2CPP

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.