Search Issue Tracker
By Design
Votes
0
Found in
2022.3.61f1
6000.0.46f1
6000.1.0b14
6000.2.0a8
Issue ID
UUM-102905
Regression
No
m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Package Manager (Window > Package Manager)
3. Remove High Definition RP package
4. Close Editor
5. In File Explorer, open the “ProjectSettings“ folder
6. Open the GraphicsSettings.asset in IDE
7. Observe the line with “m_RenderPipelineGlobalSettingsMap” or “m_SRPDefaultSettings“
Expected result: “m_RenderPipelineGlobalSettingsMap” is pointing to Built-In Render Pipeline or is not present
Actual result: “m_RenderPipelineGlobalSettingsMap” is pointing to “UnityEngine.Rendering.HighDefinition.HDRenderPipeline”
Reproducible with: 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Does not reproduce without closing Editor
- If the remove Button is greyed out in Package Manager, remove in Manifest.json file
- With 2022.3.61f1, look for “m_SRPDefaultSettings“ instead of “m_RenderPipelineGlobalSettingsMap“ in GraphicsSettings.asset
- The workaround is to reset Project Settings
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
Resolution Note:
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.