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.
-
Sevdalinov
Dec 11, 2023 16:45
Willst mit mir schpilen
-
Sevdalinov
Dec 11, 2023 16:43
Ja ich will dass
-
Sevdalinov
Dec 11, 2023 16:41
Beste
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
- ScrollView Scrollbar is jittering when Movement Type "Elastic" is selected and a mouse with a freewheel is used
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
Resolution Note:
Fixed by another internal issue: UUM-61468: [URP][NRP] Errors in console when camera renders to texture and using native render pass
Resolution Note (fix version 2022.3.37f1):
Fixed in Unity 2022.3.29f1