Search Issue Tracker

Fixed

Fixed in 2021.3.41f1, 2022.3.39f1, 6000.0.0b16

Votes

0

Found in

2021.3.40f1

2022.3.35f1

6000.0.7f1

Issue ID

UUM-74446

Regression

No

"ArgumentException" errors thrown when enabling “Screenshot Camera 6” GameObject in High Definition 3D Sample Template

--

-

Steps to reproduce:
1. Create Unity project using High Definition 3D Sample Template
2. In the Hierarchy window enable “Screenshot Camera 6” GameObject
3. Observe the errors appear in the Console window

Actual results: "ArgumentException" errors are thrown
Expected results: No errors are thrown in the Console window

Reproducible with versions: 2021.3.40f1, 2022.3.35f1, 6000.0.7f1

Tested on (OS): macOS Sonoma 14.5 (M1)

Notes:
The errors are:
{code:java}
ArgumentException: Unknown FrameSettingsRenderType
UnityEngine.Rendering.HighDefinition.HDRenderPipelineGlobalSettings.GetDefaultFrameSettings (UnityEngine.Rendering.HighDefinition.FrameSettingsRenderType type) (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.15/Runtime/RenderPipeline/HDRenderPipelineGlobalSettings.cs:307)
UnityEngine.Rendering.HighDefinition.FrameSettings.AggregateFrameSettings (UnityEngine.Rendering.HighDefinition.FrameSettings& aggregatedFrameSettings, UnityEngine.Camera camera, UnityEngine.Rendering.HighDefinition.HDAdditionalCameraData additionalData, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset hdrpAsset) (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.15/Runtime/RenderPipeline/Settings/FrameSettings.cs:915)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.TryCalculateFrameParameters (UnityEngine.Camera camera, UnityEngine.Rendering.HighDefinition.XRPass xrPass, UnityEngine.Rendering.HighDefinition.HDAdditionalCameraData& additionalCameraData, UnityEngine.Rendering.HighDefinition.HDCamera& hdCamera, UnityEngine.Rendering.ScriptableCullingParameters& cullingParams) (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.15/Runtime/RenderPipeline/HDRenderPipeline.cs:2252)
UnityEngine.Rendering.HighDefinition.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List`1[T] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.1.15/Runtime/RenderPipeline/HDRenderPipeline.cs:1303)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List`1[T] cameras) (at /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipeline.cs:51)
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 /Users/bokken/build/output/unity/unity/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:124)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)
{code}

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.