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
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
- Image is distorted when VisualElement is scaled and Scale Mode set to scale-and-crop
- Euler angles return different values during Animation Event when using Playables API and the time is 0
Resolution Note:
There are no fixes planned for this Bug