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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-6763