Search Issue Tracker
Won't Fix
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
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
- “ReferenceError: Pointer_stringify is not defined” error is thrown when downloading a file
Resolution Note:
There are no fixes planned for this Bug