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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment