Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.3.0a1
Issue ID
1048512
Regression
Yes
[Oculus][Android] Multiview depth testing broken
Depth testing is not working properly when the XR stereo rendering mode is set to "Single Pass Multiview or Instanced (Preview)" resulting in some closer objects in the scene being rendered behind other farther objects.
This error doesn't occur when XR stereo rendering mode is set to "Multi Pass".
Steps to Reproduce:
1. Install Unity
2. Open the attached project
3. In Build settings, set the Build Target to Android
4. In Player Settings > XR Settings, set Virtual Reality Supported to checked
5. In the Virtual Reality SDKs, add Oculus
6. For Stereo Rendering Mode* select Single Pass Multiview or Instanced (Preview)
7. Connect to an compatible Android phone and build and run.
Result:
Objects appear behind other objects, this includes the forground cursor being able to go behind the main scene objects.
Expected Result:
Depth testing works correctly so objects in the scene are rendered in the correct order.
Reproduced in: 2018.2.0b11 and 2018.2.0f1 on Android phone
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment