Search Issue Tracker
Active
Under Consideration for 6000.4.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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment