Reproductions steps:
1. Open the attached project “ReproGizmo”
2. Open the “Assets/GizmoDrawerIssue/Scenes/TestScene” scene
3. In the Hierarchy window right click on the “ABC” Game Object and press “Create Empty”
4. Add the “Test” script to the created GameObject
5. Inspect the Console window
Expected result: Multiple messages are printed in the Console window
Actual result: No messages are printed in the Console window
Reproducible with: 2022.2.0a15, 2022.2.2f1, 2023.1.0a25
Not reproducible with: 2020.3.44f1, 2021.3.16f1, 2022.1.24f1, 2022.2.0a14
Reproducible on: macOS 13.1 (Intel), Windows 10