Reproduction steps:
1. Open the "IN-51682.zip" project
2. Open "Assets/Scenes/SampleScene"
3. Click on the "Main Camera" GameObject in the Hierarchy window
4. Enter Play mode and observe the Console
Expected results: No exceptions are thrown
Actual results: IndexOutOfRangeExceptions are thrown
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Reproducible on: macOS 13.4 (M1, Intel), Windows 10
Not reproducible on: No other environment tested
Notes:
- Not reproducible when entering Play mode and the "Main Camera" GameObject is not in the Inspector window