Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question HD Wizard Error in Editor

Discussion in 'Editor & General Support' started by tclancey, Jul 6, 2020.

  1. tclancey

    tclancey

    Joined:
    May 19, 2017
    Posts:
    143
    Hi there. Can anyone help with the following? There's no end of these popped up in the editor this morning when I've loaded my project. They're all a bit different, this is just one of them. All packages are up to date, there are no problems anywhere else, all seems to be running fine.

    Thanks...

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Rendering.HighDefinition.HDWizard.IsSRPBatcherCorrect () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Configuration.cs:404)
    UnityEditor.Rendering.HighDefinition.HDWizard.IsAllEntryCorrectInScope (UnityEditor.Rendering.HighDefinition.InclusiveScope scope) (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Configuration.cs:193)
    UnityEditor.Rendering.HighDefinition.HDWizard.IsHdrpAssetCorrect () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Configuration.cs:304)
    UnityEditor.Rendering.HighDefinition.HDWizard.IsAllEntryCorrectInScope (UnityEditor.Rendering.HighDefinition.InclusiveScope scope) (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Configuration.cs:193)
    UnityEditor.Rendering.HighDefinition.HDWizard.IsHDRPAllCorrect () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Configuration.cs:299)
    UnityEditor.Rendering.HighDefinition.HDWizard.<OnEnable>b__124_0 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Window.cs:304)
    UnityEditor.Rendering.HighDefinition.HDWizard+VisualElementUpdatable.CheckUpdate () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.UIElement.cs:368)
    UnityEditor.Rendering.HighDefinition.HDWizard.OnGUI () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.4.1/Editor/DefaultScene/HDWizard.Window.cs:209)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
    UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
    UnityEditor.HostView.Invoke (System.String methodName) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <af78ad00a40d4f61b82afc6cafb0a416>:0)
    UnityEditor.DockArea.OldOnGUI () (at <af78ad00a40d4f61b82afc6cafb0a416>: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 <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    Rethrow as ImmediateModeException
    UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.Panel.UpdateForRepaint () (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <78b213560771414e9fa6f1b95f5ad8bb>:0)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
     
  2. gooses2

    gooses2

    Joined:
    Feb 2, 2018
    Posts:
    6
    I'm getting the exact same issue
     
  3. kornel-l-varga

    kornel-l-varga

    Joined:
    Jan 18, 2013
    Posts:
    43
    +1, any solutions?