Search Issue Tracker

Active

Votes

0

Found in

6000.0.45f1

6000.1.0b13

6000.2.0a8

Issue ID

UUM-102022

Regression

No

An unclear error occurs when exceeding the light limit set in URP Config package

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. In the Build Profiles (File > Build Profile), make sure iOS or Android platform is selected
4. In the Hierarchy window, open the context menu of the “PointLight x8 (without shadow) (2)” GameObject
5. In the Context menu, select Duplicate
6. Observe the Console

Expected result: The logged error clearly shows that it occurred due to exceeding the maximum number of lights set in the universal-config package
Actual result: Multiple “IndexOutOfRangeException: Index was outside the bounds of the array.” errors are logged

Reproducible with: 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Couldn't test with: 2022.3.60f1 (No errors are thrown)

Reproducible on: macOS Sequoia 15.3.2 (M1 Max)
Not reproducible on: No other envornments tested

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.