How to reproduce:
1. Open a new Unity project
2. Select a GameObject in the Hierarchy
3. Switch the Inspector to "Debug" mode
4. Add a new Component
Expected result: Component is successfully added without any abnormal behaviour
Actual result: Component is added with a blank name and “InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)” spammed in the Console log
Reproducible with: 2022.2.0a9, 2022.2.0b13, 2023.1.0a16
Not reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2022.2.0a8
Reproduced on: macOS 12.6 (Intel)
Note: Re-selecting the GameObject fixes the issue