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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment