Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.16f1
2020.2
2021.1
2021.2
Issue ID
1301011
Regression
No
[XR] CommandBuffer.DrawMesh only renders to the left eye when using Single Pass Instanced mode
Reproduction steps:
1. Open the user's attached "CommandBufferStereoBugRepo.zip" project
2. Load the "SampleScene"
3. Enter Play mode
Expected result: the white cube is rendered to both eyes
Actual result: the white cube is rendered only to the left eye
Reproducible with: 2018.4.31f1, 2019.4.17f1, 2020.2.1f1, 2021.1.0b2, 2021.2.0a1 (Legacy XR, XR SDK 3.2.17)
Tested with:
- Oculus Rift
- Mock HMD
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2021.2.X):
When you set the render target, you need to specify that all slices should be bound by using this call for example:
_drawOffscreenCommands.SetRenderTarget(_testRtId, 0, CubemapFace.Unknown, -1);
By default, only the first slice is bound. By using -1, the driver will bind the entire array.
https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer.SetRenderTarget.html