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
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
Add comment