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.
Comments (3)
-
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
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