Search Issue Tracker

Fixed

Fixed in 2022.3.37f1

Votes

2

Found in

2022.3.14f1

Issue ID

UUM-58611

Regression

No

[URP][NRP] SubmitRenderRequest with NativeRenderPass + Upscaling doesn't work

--

-

When calling RenderPipeline.SubmitRenderRequest with Native Render Pass enabled on the renderer, there's errors in the console due to size mismatch.

{code}
RenderPass: The dimensions or sample count of attachment 0 do not match RenderPass specifications (1536 x 864 1AA) vs (1920 x 1080 1AA).
BeginSubPass: Not inside a Renderpass
EndRenderPass: Not inside a Renderpass
{code}
(Here, game view is 1536 x 864, destination render texture is 1920 x 1080.)
I haven't tested on other versions, so I don't know if it's a regression.

Repro:
- Open the SampleScene in the attached project.
- Play.

Notice the RenderTexture in the assets.
Expected: The scene renders to the render texture.
Actual: The render texture is always black and there's errors in the console (see above).

Disabling native render pass fixes it, setting the render scale to 1 also fixes it.

  1. Resolution Note:

    Fixed by another internal issue: UUM-61468: [URP][NRP] Errors in console when camera renders to texture and using native render pass

  2. Resolution Note (fix version 2022.3.37f1):

    Fixed in Unity 2022.3.29f1

Comments (3)

  1. Sevdalinov

    Dec 11, 2023 16:45

    Willst mit mir schpilen

  2. Sevdalinov

    Dec 11, 2023 16:43

    Ja ich will dass

  3. Sevdalinov

    Dec 11, 2023 16:41

    Beste

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.