I’ve recently heard about the Unity 6 Update and wanted to see how much of a game changer adaptive probe volumes are for the lighting system. So I decided to set up a basic HDRP scene with APVs.
I followed the wiki on setting up Adaptive Probe Volumes in a HDRP Scene.
Use Adaptive Probe Volumes | High Definition RP | 17.0.3
Whenever I get to the part where I need to modify the APV in the inspector, I get a repeated error stating: TargetParameterCountException: Number of parameters specified does not match the expected number.
As a result the component is blank in the inspector, and the adaptive probe volume section is also blank in lighting settings.
I’ve also made sure to set the light to mixed and the HDRP Asset’s Light Probe System to Adaptive Probe Volumes.
Full error message:
TargetParameterCountException: Number of parameters specified does not match the expected number.
System.Reflection.RuntimeMethodInfo.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) (at <eb0ef51e5908461ca908fdf6b2dbd966>:0)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eb0ef51e5908461ca908fdf6b2dbd966>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eb0ef51e5908461ca908fdf6b2dbd966>:0)
UnityEditor.Rendering.ProbeVolumeEditor.FrameSettingDisabledHelpBox () (at ./Library/PackageCache/com.unity.render-pipelines.core@7bffd5bb179a/Editor/Lighting/ProbeVolume/ProbeVolumeEditor.cs:126)
UnityEngine.Rendering.ProbeVolumeLightingTab.Initialize () (at ./Library/PackageCache/com.unity.render-pipelines.core@7bffd5bb179a/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs:190)
UnityEngine.Rendering.ProbeVolumeLightingTab.OnGUI () (at ./Library/PackageCache/com.unity.render-pipelines.core@7bffd5bb179a/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs:220)
UnityEditor.LightingWindow.OnGUI () (at <383b67993756435b8920080a9ba43b70>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <383b67993756435b8920080a9ba43b70>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <383b67993756435b8920080a9ba43b70>:0)
UnityEditor.DockArea.OldOnGUI () (at <383b67993756435b8920080a9ba43b70>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d6f576415dfd4add8f23aa1d383d68cc>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Any ideas on what’s causing this? I’ve already tried setting up a fresh HDRP Unity Project on a different computer and it has had the same issue. Both systems used Windows 11.
My editor version is: 6000.0.36f1, but I’ve also encountered this issue for the first time on 6000.0.35f1