Not signed in
Copyright © 2026 Unity Technologies
Thank you for reporting a bug to Unity. This issue has been fixed in an upcoming release. We have reviewed the issue carefully, and in this case, the team is unable to prioritize backporting this bug to existing releases. 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 a backport may destabilize a release in production. Today we will be closing this port. 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.
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.
Steps to reproduce:
Actual results:
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 ()
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: [Internal link].
Sign in to see your voted issues