Search Issue Tracker

Fixed

Votes

0

Found in

2023.2.0a7

Issue ID

UUM-30480

Regression

Yes

Error is thrown after creating a 3D HDRP (Sample Scene) template project

--

-

*How to reproduce:*
# Create a new project using the 3D HDRP (Sample Scene) template

*Expected results:* The project opens without any errors or warnings.

*Actual results:* An error is shown in the console: 
{code:java}
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <61186344ee47416b83886abf33afd112>:0)
System.Collections.ObjectModel.ReadOnlyCollection`1[T].get_Item (System.Int32 index) (at <61186344ee47416b83886abf33afd112>:0)
UnityEngine.Rendering.HighDefinition.StaticLightingSky.InitComponentFromProfile[T] (T component, T componentFromProfile, System.Type type) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition@16.0.0/Runtime/Sky/StaticLightingSky.cs:228)
UnityEngine.Rendering.HighDefinition.StaticLightingSky.UpdateCurrentStaticLightingVolumetricClouds () (at ./Library/PackageCache/com.unity.render-pipelines.high-definition@16.0.0/Runtime/Sky/StaticLightingSky.cs:286)
UnityEngine.Rendering.HighDefinition.StaticLightingSky.OnEnable () (at ./Library/PackageCache/com.unity.render-pipelines.high-definition@16.0.0/Runtime/Sky/StaticLightingSky.cs:323) {code}
{*}Platform used{*}: macOS Monterey 12.6

  1. Resolution Note:

    Fixed by another internal issue: UUM-45262: ArgumentOutOfRange error on opening HDRP template

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.