Description
When using URP Dynamic Resolution on XR with no intermediate passes the viewport is not in the correct rect when using the DrawRenderObjects pass
Initial setup
Use the following project (too big to be added here) https://drive.google.com/file/d/1gK59lHPVVFTEuXu9cYwuRtW6yOeiJrOL/view?usp=sharing
Reproduction steps
- Create an empty URP project
- Disable post processing from the camera
- Enable URP post processing in the main camera
- Add OpenXR plugin and enable support for Meta Session
- Create a C# script to update XRSettings.renderViewportScale
- Add the RenderObjects pass to the current in Universal Render Data
- Build for Android and install apk on device
Expected behaviour
The RenderObject pass should work as expected
Actual behavior
The RenderObject pass is rendered outside the designated viewport
Logs and Links
(Add links to Yamato jobs, links to logs, and add a stack trace in this section)