Search Issue Tracker
Fixed
Fixed in 2023.2.0f1
Votes
0
Found in
2021.3.22f1
2022.2.14f1
2023.1.0b13
2023.2.0a9
Issue ID
UUM-33248
Regression
No
[URP] Warning message when pressing Undo on creating a light object in scene
Repro:
* Start a new project with any URP template
* Create any light object in the scene (Point or Directional lights, for example)
* Press Undo
* Notice warning in the console:
Component of type MonoBehaviour was added to Spot 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 ()
Reproducible on: 2023.2, 2023.1, 2022.2 and 2021.3
Not reproducible on: 2021.2 , default or HDRP render pipelines
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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Resolution Note (fix version 2023.2.0f1):
Unable to reproduce this issue. Due to lack of resources we will close it. If you think that it is an important problem to solve please re-open