Unable to upgrade to HDRP. Unity throws several errors.
I recently attempted to upgrade my project from URP to HDRP. I downloaded HDRP from the package manager, and then everything broke. For starters, the HD Render Pipeline Wizard didn't even show up at first, requiring me to restart Unity. Once I restarted, the window correctly showed up, but all of the configuration settings were broken. I tried clicking the Fix All button, and that's when all hell broke loose. The main error I'm getting occurs whenever I click anywhere within the Pipeline wizard, whether it's on a button or not. I've looked up this error and found a few people with the same issue. Most questions were never answered. For those that were, the solution was to delete HDRP and reinstall. I tried that several times, as well as several restarts, but to no avail. I also tried to make a new project with HDRP and that worked just fine. One thing that I've also observed is that the HDRP Default Settings tab in the Project Settings doesn't have any data in it and when I click on that tab, this error appears.
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Below is a screenshot of that issue as well as the Pipeline Wizard.
Any suggestions are greatly appreciated.
Also, here's the main error in its entirety.
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@8.2.0/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@8.2.0/Editor/DefaultScene/HDWizard.Configuration.cs:193)
UnityEditor.Rendering.HighDefinition.HDWizard.IsHdrpAssetCorrect () (at Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/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@8.2.0/Editor/DefaultScene/HDWizard.Configuration.cs:193)
UnityEditor.Rendering.HighDefinition.HDWizard.IsHDRPAllCorrect () (at Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/DefaultScene/HDWizard.Configuration.cs:299)
UnityEditor.Rendering.HighDefinition.HDWizard.<OnEnable>b__124_0 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/DefaultScene/HDWizard.Window.cs:304)
UnityEditor.Rendering.HighDefinition.HDWizard+VisualElementUpdatable.CheckUpdate () (at Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/DefaultScene/HDWizard.UIElement.cs:368)
UnityEditor.Rendering.HighDefinition.HDWizard.OnGUI () (at Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/DefaultScene/HDWizard.Window.cs:209)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <7dae22651edf474ead4ab15fa947a891>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <7dae22651edf474ead4ab15fa947a891>:0)
UnityEditor.DockArea.OldOnGUI () (at <7dae22651edf474ead4ab15fa947a891>: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 <e11cddb636f444f68eec62123764f018>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Your answer
Follow this Question
Related Questions
Did the new scriptable render pipeline system break Graphics.DrawMesh()? 1 Answer
HDRP or URP for a Horror Survival Game ? 0 Answers
Can I use LWRP and Legacy renderer togather 0 Answers
mesh glitch on build 1 Answer
URP Don clear flag 0 Answers