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
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
Resolution Note:
There are no fixes planned for this Bug