ultimatexr-unity
ultimatexr-unity copied to clipboard
Script error when using HDRP
Scripts/Rendering/FX/UxrMagnifyingGlassUrp.cs
Your last update to this script to avoid hard URP didn't seem to account for this line.
line #268 UniversalRenderPipeline.RenderSingleCamera(context, refractionCamera);
This will create a compile error when using HDRP stopping play mode even if not being used in my Scene. This seems to happen sometimes and sometimes not in projects not using it, At least for me.
Thanks for the heads up! Will be added to the next batch of fixes.
Should be fixed:https://github.com/VRMADA/ultimatexr-unity/blob/c2d8066339d39c524e7c34d6d7af4f9ea7f51145/Runtime/Scripts/Rendering/FX/UxrMagnifyingGlassUrp.cs#L268-L270