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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
Resolution Note (fix version 10.x):
Fixed in package version 10.0.0-preview.27