Search Issue Tracker
Fixed in 4.3.X
Votes
0
Found in
4.2.1f4
Issue ID
565490
Regression
Yes
Crash when adding a missing script to multiple objects in a prefab
repro:
- create an empty GO and add another one as its child
- create a new script, apply to the child
- (move to Project tab to) create a prefab from this hierarchy of 2 GOs
- remove the script asset (child now has a missing script warning)
- duplicate the child in the scene view instance of the prefab
Problem 1.
- try selecting the two child objects, console prints error:
m_ByteOffset + m_TypeTree->m_ByteSize <= m_Data->size ()
UnityEditor.SerializedObject:InternalCreate(Object[])
UnityEditor.SerializedObject:.ctor(Object[])
Problem 2.
- create a new script
- multiselect children and apply it in the Missing Script place
- crash!:
The file 'MemoryStream' is corrupted! Remove it and launch unity again!
[Position out of bounds! 60 > 56]
(see picture)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest 2] Surface shader and multi-view sampling custom textures broken in Quest 2
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
Add comment