Search Issue Tracker

Fixed in master

Votes

0

Found in [Package]

6.9.0

Issue ID

1198052

Regression

No

[XR][URP] Rendering into RenderTexture with Single Pass Instanced renders both eyes overlapping

Package: Scriptable Render Pipeline Universal

-

Steps to reproduce:
1. Download attached project and open "Testing" scene
2. Make sure VR is enabled and Render mode set to Single Pass Instanced
3. Enter play mode

Expected results: On Render Texture Right and Left eyes is render side by side
Actual results: On Render Texture Right and Left eyes is render overlapping

Reproduced with: 2020.1.0a15 (7.1.5, 7.1.6), 2019.3.0f1 (7.1.6), 2019.2.14f1 (6.9.2, 6.9.0)

Note:
- Not reproducible with HDRP. With single pass HDRP throws Not Supported Exception.

Comments (1)

  1. homoinanis

    Dec 11, 2022 13:32

    I have searched a lot on the internet. I can save you time. One day as of this post Unity offers absolutely nothing to get a single render texture with stereoscopic view using Single Instance.

    But of course, there is the issue that if you want to make a relatively complex game Single Instance is practically mandatory.

    The only solution I have found is also quite simple: use two cameras for each of the eyes of the HMD viewer. So, for each stereoscopic texture that we want, for example a portal, we will have to create two cameras that will track the position of the eyes in a relative way, recording the texture in two render textures that we can assign to each of the textures of a shader that unify in a single vision.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.