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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
This is a duplicate of issue #1106345