UnityLauncherPro icon indicating copy to clipboard operation
UnityLauncherPro copied to clipboard

SRP detection fails with removed HDRP 6000.2.x

Open unitycoder opened this issue 9 months ago • 4 comments

even when hdrp is disabled and removed, GraphicsSettings.asset contains this row

m_RenderPipelineGlobalSettingsMap: UnityEngine.Rendering.HighDefinition.HDRenderPipeline: {fileID: 11400000, guid: ....., type: 2}

its only removed if you do Reset on Project Settings/Graphics panel.. probably unity bug.

unitycoder avatar Mar 16 '25 10:03 unitycoder

reported as a bug, lets see.. "IN-99018"

unitycoder avatar Apr 09 '25 20:04 unitycoder

nice, accepted as a bug https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-102905

unitycoder avatar Apr 11 '25 12:04 unitycoder

but got closed "As Designed"

Resolution Notes: The links in the Graphics Settings remain pointing to the HDRP Global Settings even if the HDRP package is removed. This is because, if HDRP is restored, these references also need to be restored. This approach is consistent with the behavior of MonoBehaviours in the Scene and ScriptableObjects in general. To determine the availability of a render pipeline in the project, we recommend using the PackageInfo API. If you need to perform this check outside of the Unity project, parsing the manifest.json file located in the Packages folder would be a more suitable alternative.

unitycoder avatar Apr 25 '25 17:04 unitycoder

in hdrp project

if hdrp is assigned, GraphicsSettings.asset has this: m_CustomRenderPipeline: {fileID: 11400000, guid: 023a2613e70294d4f9514feb149706e0, type: 2}

if not assigned, *but need to do Save Project in unity first, m_CustomRenderPipeline: {fileID: 0}

unitycoder avatar Nov 12 '25 21:11 unitycoder