Search Issue Tracker
Fixed in 13.1.2
Votes
0
Found in [Package]
2022.1.0a16
Issue ID
1383730
Regression
Yes
[HDRP] ArgumentOutOfRangeException thrown after creating new Area Light object after opening ShaderGraph
How to reproduce:
1. Create new HDRP project
2. Create new Shadergraph via Project tab and open it
3. In Hierarchy create new Area Light
4. Observe console
Error:
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 <96f838c04c564175a85f709a665a953d>:0)
UnityEngine.Rendering.HighDefinition.HDLightRenderDatabase.EditLightDataAsRef (UnityEngine.Rendering.HighDefinition.HDLightRenderEntity& entity) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDLightRenderDatabase.cs:96)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.ComputeLightType (UnityEngine.Light attachedLight) (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.Types.cs:514)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.get_type () (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.Types.cs:233)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.UpdateBounds () (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.cs:3153)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.OnValidate () (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.cs:2851)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.Migrate () (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.Migration.cs:189)
UnityEngine.Rendering.HighDefinition.HDAdditionalLightData.Awake () (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Runtime/Lighting/Light/HDAdditionalLightData.cs:2955)
UnityEditor.Rendering.HighDefinition.HDLightEditor:OnEnable() (at Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.1/Editor/Lighting/HDLightEditor.cs:42)
Reproduced with: 2022.1.0a16
Does not reproduce with: 2022.1.0a15
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment