Search Issue Tracker
Duplicate
Votes
2
Found in
2018.3.0b10
2018.3.0f2
Issue ID
1113789
Regression
Yes
Crash on CollectObjectHierarchyWithHideFlagFilter when saving prefab after failed Assertion
How to reproduce:
1. Open the attached project
2. Open the Prefab view of "Ybot Variant" prefab
3 Add Capsule GameObject into the prefab
4. Save prefab (Error is thrown)
5. Repeat steps 3 and 4
Actual result: Unity crashes.
Reproducible with: 2019.2.0a1, 2019.1.0a14, 2018.3.3f1, 2018.3.0b10.
Regression introduced in: 2018.3.0b10.
Not reproducible with: 2018.3.0b1, 2018.3.0b9.
Notes:
When saving prefab the first time, error is thrown:
Assertion failed on expression: '!(m_Object.find(fileID) != m_Object.end() && m_Types[m_Object.find(fileID)->second.typeID].GetPersistentTypeID() != objectPersistentTypeID)'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Comments (1)
-
kOnINC
Feb 28, 2019 02:47
Unity doesn't crash anymore but the error breaks prefabs. Able to reproduce as of 2018.3.4f1
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
- 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
This is a duplicate of issue #1106345