How to reproduce:
1. Open the user’s attached “HideAndDontSaveLagBug.zip” project
2. In the Hierarchy, select “HideAndDontSave” GameObject and enable it
3. Expand “Static / Lightmapped” GameObject and select any of the “Plane" GameObjects
4. Observe the result
Expected result: No freeze
Actual result: Editor freezes
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0a1
Not reproducible with: 2023.2.0b4
Fixed in: 2023.2.0a2
Reproduced on: macOS 13.4.1 (Intel)