Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.2.0b4
6000.3.0a4
6000.4.0a1
6000.5.0a1
Issue ID
UUM-108789
Regression
No
Error "Cannot destroy Component while GameObject is being activated or deactivated." logged when undoing deletion of Game Objects under Prefabs
Steps to reproduce:
- Create a URP Project and import the attached Asset Package
- Open Prefab "PackagedPlayer"
- Select "GameObject" in the Hierarchy and enter Play Mode
- In the Component "UI Document" click the button "Create Panel Input Configuration"
- Delete it in the Hierarchy and undo this action
- Exit Play Mode, Delete it again and undo this action
Actual results: Error "Cannot destroy Component while GameObject is being activated or deactivated.
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()" is logged
Expected results: No errors are logged
Reproducible with versions: 6000.2.0b4, 6000.3.0a4
Not reproducible with versions: 2022.3.63f1, 6000.0.50f1, 6000.1.6f1 (No World Space UI flag in Panel Settings)
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
Add comment