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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
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