Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.3.0f1
Issue ID
1106559
Regression
No
InvalidOperationException raises while creating a variant from script second time
1. Open attached project
2. Click "Test->Run" menu item
3. Open "Variant" prefab asset
4. Delete "Variant" prefab asset
5. click "Test->run" one more time
==>
InvalidOperationException: Requesting 'prefabContentsRoot' from Awake and OnEnable are not supported
UnityEditor.Experimental.SceneManagement.PrefabStage.get_prefabContentsRoot () (at C:/UnitySource/Trunk/Editor/Mono/SceneManagement/StageManager/PrefabStage/PrefabStage.cs:62)
UnityEditor.SceneHierarchyStageHandling.CachePrefabHeaderText (UnityEditor.SceneManagement.StageNavigationItem stage) (at C:/UnitySource/Trunk/Editor/Mono/SceneHierarchyStageHandling.cs:237)
UnityEditor.SceneHierarchyStageHandling.PrefabStageHeaderGUI (Rect rect) (at C:/UnitySource/Trunk/Editor/Mono/SceneHierarchyStageHandling.cs:261)
Also reproducible on trunk (2019.1.0a12)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment