Skip to content

Compiler error & rendering incorrectly in 2022.3.62f3 - URP 14.0.12 #4

Description

@j-schoch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions