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
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)
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.