Search Issue Tracker
Fixed in 10.x
Votes
0
Found in [Package]
9.0.0 preview.33.
Issue ID
1265028
Regression
No
[HDRP] ArgumentOutOfRangeException errors are thrown on undoing after changing resolution value in HDRP Compositor
-ArgumentOutOfRangeException errors are thrown on undoing after changing resolution value in HDRP Compositor.
-Game view window appears black with ArgumentOutOfRangeException throwing continuously.
-Workaround: Restart the editor.
Steps to repro:
1. Create a new HDRP template project
2. Windows > Render Pipeline > HD Render Pipeline Compositor.
3. Enable Compositor > Render Schedule > Base Layer.
4. Properties > AOVS > Albedo.
5. Properties > AOVS > None.
6. Press CTRL+Z.
Actual Result:
ArgumentOutOfRangeException errors are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a19, 2020.1.0f1, 2020.1.0b13 with Package version 9.0.0 preview.33.
Note: HDRP Compositor window introduced in 9.0.0 preview.33.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <fb001e01371b4adca20013e0ac763896>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <fb001e01371b4adca20013e0ac763896>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEngine.Rendering.HighDefinition.Compositor.CompositorLayer+<>c__DisplayClass69_1.<SetupLayerCamera>b__1 (UnityEngine.Rendering.CommandBuffer cmd, System.Collections.Generic.List`1[T] textures, UnityEngine.Rendering.HighDefinition.RenderOutputProperties properties) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/runtime/compositor/compositionlayer.cs:622)
UnityEngine.Rendering.HighDefinition.AOVRequestData.Execute (UnityEngine.Rendering.CommandBuffer cmd, System.Collections.Generic.List`1[T] framePassTextures, System.Collections.Generic.List`1[T] customPassTextures, UnityEngine.Rendering.HighDefinition.RenderOutputProperties outputProperties) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/runtime/renderpipeline/renderpass/aov/aovrequestdata.cs:292)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Rendering.HighDefinition.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.HighDefinition.AOVRequestData aovRequest) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/runtime/renderpipeline/hdrenderpipeline.cs:2817)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at library/packagecache/com.unity.render-pipelines.high-definition@9.0.0-preview.33/runtime/renderpipeline/hdrenderpipeline.cs:2027)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at <cf1e0a71fe9049fb9d84d2cb66a2e3b2>:0)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at <cf1e0a71fe9049fb9d84d2cb66a2e3b2>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 10.x):
Fixed in package version 10.0.0-preview.27