Reproduction steps:
1. Open the attached project "CrashRepro"
2. Select “Greybox Background Shape (16)“ GameObject in the Hierarchy window
3. Right-click the “Property Block Pusher“ script component and click on “Only Clean Index“
Expected result: The script executes
Actual result: Editor crashes
Reproducible with: 6000.0.0b11, 6000.0.27f1, 6000.1.0a5
Not reproducible with: 2021.3.45f1, 2022.3.52f1, 2023.3.0b10
Reproducible on: Windows 11
Not reproducible on: No other environment tested
First few lines of stack trace: