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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
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