Search Issue Tracker

Fixed

Votes

0

Found in

2021.3.29f1

2022.3.8f1

2023.1.10f1

2023.2.0b6

2023.3.0a2

Issue ID

UUM-46723

Regression

No

An IndexOutOfRangeException is thrown when adding a Camera GameObject to a Camera Stack and having the "Main Camera" GameObject selected in the Inspector window

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.