Using Unity 2022.3.62f3 - URP 14.0.12.
As is, I get a compiler error on import regarding line:
|
RenderingUtils.ReAllocateHandleIfNeeded(ref debugRTHandle, desc); |
In my version's API, it should be:
RenderingUtils.ReAllocateIfNeeded(ref debugRTHandle, desc);
With that error fixed, the debug view in the scene tab is rendering incorrectly. It appears as a narrow strip at the top of the scene view, overlapping the editor tabs, and is also inverted vertically.
Changing this line:
|
Blitter.BlitTexture(cmd, debugHandle, new Vector4(1, 1, 0, 0), 0, false); |
to:
Blitter.BlitCameraTexture(cmd, debugHandle, colorHandle, 0, false);
Fixed that issue and it now renders in the viewport properly.
Using Unity 2022.3.62f3 - URP 14.0.12.
As is, I get a compiler error on import regarding line:
stencil-debugger/Runtime/StencilDebug.cs
Line 122 in 2d2b800
In my version's API, it should be:
RenderingUtils.ReAllocateIfNeeded(ref debugRTHandle, desc);With that error fixed, the debug view in the scene tab is rendering incorrectly. It appears as a narrow strip at the top of the scene view, overlapping the editor tabs, and is also inverted vertically.
Changing this line:
stencil-debugger/Runtime/StencilDebug.cs
Line 147 in 2d2b800
to:
Blitter.BlitCameraTexture(cmd, debugHandle, colorHandle, 0, false);Fixed that issue and it now renders in the viewport properly.