Steps to reproduce:
- Open a URP 2D Project
- In the Hierarchy right-click and create Light > Freeform Light 2D > Square
- Select it and from either the Tools Overlay or the Light 2D Component in the Inspector select "Edit Shape"
- Select one of the Nodes and drag it to change its position
- Exit Shape Editing, Select the Light in the Hierarchy and delete it
- Undo via shortcut or from the Edit menu
Actual results: 2 Warnings appear: "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"
Expected results: No Warnings appear
Reproducible with versions: 2021.3.47f1, 2022.3.54f1, 6000.0.30f1, 6000.1.0a8
Tested on (OS): macOS x64 Sequoia, Windows 11