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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This issue has already been fixed and backported to 18.4 LTS