Search Issue Tracker
Not Reproducible
Votes
4
Found in
2018.3.0a6
2018.3.0b11
2019.1.0a1
Issue ID
1108041
Regression
Yes
[Regression] AddComponent to Prefab in AssetPostprocessor causes an Assertion error
How to reproduce:
1. Open the user-submitted project ("BugReport_Prefab_TestHideFlag.zip")
2. In the Hierarchy Window create a cube object
3. Drag the Cube to the Project Window to create a prefab
4. Observe the Console
Expected result: The prefab is created successfully with no errors in the console
Actual result: "Assertion failed on expression: '!go.TestHideFlag(Object::kNotEditable)'" error is thrown when creating the prefab
Reproduced in: 2019.1.0a12, 2018.3.0f2, 2018.3.0a6
Not reproducible: 2018.3.0a5, 2017.4.17f1
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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
Resolution Note:
This issue has already been fixed and backported to 18.4 LTS