ultimatexr-unity icon indicating copy to clipboard operation
ultimatexr-unity copied to clipboard

Script error when using HDRP

Open drvive opened this issue 3 years ago • 1 comments

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.

drvive avatar Sep 27 '22 04:09 drvive

Thanks for the heads up! Will be added to the next batch of fixes.

entromp avatar Oct 10 '22 07:10 entromp

Should be fixed:https://github.com/VRMADA/ultimatexr-unity/blob/c2d8066339d39c524e7c34d6d7af4f9ea7f51145/Runtime/Scripts/Rendering/FX/UxrMagnifyingGlassUrp.cs#L268-L270

entromp avatar Oct 26 '22 11:10 entromp