HDRP Errors after deleting Library and Temp

I encountered the problem that unity did not start. Then I read that deleting Temp and Library folders could do the job.

So what did I do:
I made a backup using git (but Library and Temp were excluded with gitignore…)
Then I deleted both folders and started unity again.
It took a while but finally, unity could start again.

Unfortunately it looks like HDRP is broken now. I got the following errors:


This is the content:

ArgumentNullException: Value cannot be null.
Parameter name: shader
UnityEngine.Material..ctor (UnityEngine.Shader shader) (at <526469d5a48c43eebd9af19f8745afa1>:0)
UnityEditor.Rendering.HighDefinition.TonemappingEditor.OnEnable () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.3.1/Editor/PostProcessing/TonemappingEditor.cs:42)
UnityEditor.Rendering.VolumeComponentEditor.Init (UnityEngine.Rendering.VolumeComponent target, UnityEditor.Editor inspector) (at Library/PackageCache/com.unity.render-pipelines.core@7.3.1/Editor/Volume/VolumeComponentEditor.cs:179)
UnityEditor.Rendering.VolumeComponentListEditor.CreateEditor (UnityEngine.Rendering.VolumeComponent component, UnityEditor.SerializedProperty property, System.Int32 index, System.Boolean forceOpen) (at Library/PackageCache/com.unity.render-pipelines.core@7.3.1/Editor/Volume/VolumeComponentListEditor.cs:140)
Platform StandaloneWindows64 with device Direct3D11 is not supported with High Definition Render Pipeline, no rendering will occur
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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 <9577ac7a62ef43179789031239ba8798>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEngine.UIElements.VisualElement+Hierarchy.get_Item (System.Int32 key) (at <06214b245dbb4d10a9cefd10639bb04e>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at <06214b245dbb4d10a9cefd10639bb04e>:0)

Now, the scene view does not work anymore (it is completely gray) and the game view is black except UI elements but all Text Mesh Pro Texts are purple.

When opening the HDRP Default Settings in the Project settings, the same errors are spammed in the console and the Settings do not appear.

Reinstalling HDRP does not work. Same errors after.

Hope you can help, thanks.

Regards
Felix

Unity Version is 2019.4.15f1 and HDRP is version 7.3.1
I read about those errors, that the graphics card does not support HDRP but since it was working fine before i deleted the folders, this can not be the case. I’ve got NVIDIA GeForce GTX 1060 6GB and drivers are up to date

In case anyone is interested:
I fixed that by creating a new HDRP project (which was working fine) and copying ProjectSettings and Packages from this new project to the old one