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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment