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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
This is a duplicate of issue #1106345