Search Issue Tracker
By Design
Votes
0
Found in [Package]
3.2.17
Issue ID
1307183
Regression
No
[XR SDK] Multiple viewport rectangles does not work
Reproduction steps:
1. Open the attached project ("MultipleCameraTest.zip")
2. Open the "No-VR" scene
3. Enter Play mode
4. Resize the Game window
Expected result: Viewports displays different images, does not glitch when resizing
Actual result: Viewports display the same image, glitches when resizing (see "fPgmt1nUCP.mp4" video)
Reproducible with: XR SDK 3.2.17, 4.0.0-pre.3 (2019.4.19f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3)
Not reproducible with: 2018.4.31f1 (XR SDK not available)
Tested:
- Oculus Rift S
- MockHMD
-
Chambers88
Feb 03, 2021 14:57
I worked around this problem by using the "Forward" rendering path and turning off HDR and MSAA. The viewport rects work as expected if using these configurations.
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
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
Resolution Note:
The XR SDK Devices provided by Unity only support a single viewport when rendering to eye textures. Support for multiple viewports either requires rendering into a render texture and blitting the results in an additional pass, or authoring a custom XR SDK display provider.