Search Issue Tracker
In Progress
In Progress in 2022.3.X
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.
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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
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