Search Issue Tracker
Fixed
Fixed in 2023.2.X, 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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2023.2):
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