Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X
Votes
1
Found in
2020.3.45f1
Issue ID
UUM-640
Regression
No
Crash with MemoryStream is corrupted! [Position out of bounds] pop-up when renaming a Prefab after renaming its script component
How to reproduce:
1. Open tester-attached project (PrefabRenameCrash.zip)
2. Open the Scenes/Level 1 Scene
3. Inspect the Prefabs/Game Status.prefab by selecting it
4. Open the Scripts/GameStatus.cs script
5. Rename all instances(only in this script) of 'GameStatus' to 'GameSession'
6. Rename the script itself to 'GameSession.cs'
7. Select the Prefabs/Game Status.prefab
8. Rename it to 'Game Session'
Expected result: the Editor does not crash
Actual result: the Editor crashes
Reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.6f1, 2020.2.0b3, 2020.3.45f1
Notes:
Does not reproduce when other errors caused by the class rename are resolved
There are 2 ways this could crash:
1) The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!] pop-up(only when Scene with this Prefab is open)
2) Crash in ModuleMetadataBindings::GetModuleIncludeSettingForObject(when this Prefab is not in the active Scene, this only reproduces in 2020.2)
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2020.3.X):
There are no fixes planned for this Bug