Search Issue Tracker
Won't Fix
Won't Fix in 6000.3.X
Votes
1
Found in
2021.3.44f1
2022.3.49f1
6000.0.22f1
6000.1.0a7
6000.2.0a1
6000.3.0a1
Issue ID
UUM-83299
Regression
No
"Component (...) had become dangling during an undo operation." warning undoing creating a light
Steps to reproduce:
- Create a new URP project.
- Project View > Create > Rendering > URP Asset (with Universal Renderer).
- Set this newly created asset as the SRP in Project Settings > Graphics.
- Hierarchy > Right-click > Light > Directional Light.
- Press Ctrl+Z.
Actual results:
{code:java}
Component of type MonoBehaviour was added to Directional Light using GameObject.AddComponent() and had become dangling during an undo operation.
Use Undo.AddComponent to correctly add a component which can be handle by the undo system
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
{code}
Expected results: This warning should not appear on such a basic workflow.
Reproducible with versions: 6000.0.32f1, 6000.0.22f1, 2022.3.49f1, 2022.1.0a1, 2021.3.44f1 2021.2.0b1
Couldn't test: 2021.2.0a10, 2021.2.0a1 - couldn't create pipeline asset
Tested on (OS): Windows 11
Notes: warnings are also thrown when undoing Point Light or Spot Light creation
Reverted Fix
A fix for this landed but was reverted. Please see Elvar's comment below: https://jira.unity3d.com/browse/UUM-83299?focusedId=8727738&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-8727738.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- 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
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.
Resolution Note (6000.3.X):
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.