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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-6763