I recently upgraded my entire project from URP to HDRP. As part of this, I removed the URP package from the project, switched the graphics settings to HDRP and installed the HDRP packs for all 3rd party packages I could find. I also went through and tried to delete any URP-specific shaders, settings, and scripts that I had from the project.
HDRP appears to be working correctly in the project now, but I am running into a strange issue I have been unable to resolve as of yet. It appears that many 3rd party tools like Gaia are still detecting that URP is installed somehow, even though it has been removed and every setting I could find has been switched over to HDRP. Many scripts are still attempting to import code from UnityEngine.Rendering.Universal, but are encountering errors because it is not present in the project. In the places where this occurs, it is always in an #if comment block checking for the URP. For example:
#if UPPipeline
using UnityEngine.Rendering.Universal;
#endif
Can someone explain to me how the above check works? What is it using to determine that URP is still installed in my project?
Any help you could provide is appreciated!