Search Issue Tracker

Active

Under Consideration for 4.4.X

Votes

1

Found in [Package]

4.4.0

Issue ID

OXPB-169

Regression

No

[OculusXR][OpenGLES] GL_INVALID_OPERATION errors on Quest Development Builds when Multiview is selected

Package: Oculus XR Plugin

-

Steps to reproduce:
1. Open the attached user's project "OpenGLESURPRendereringIssue.zip"
2. Go to Project Settings > XR Plugin Management > Oculus and confirm that the Stereo Rendering Mode is set to Multiview.
3. Go to Project Settings > Player > Other Settings and check that OpenGLES 3 is the target API
4. Open the Build Profiles window and enable Development Build for Android
5. Build and run for Quest 2/3

Expected results: no errors are spammed
Actual results: GL_INVALID_OPERATION errors are spammed on Quest Development Builds when Multiview is selected with OpenGLES Graphics API

Reproducible: OculusXR 4.4.0 (6000.0.33f1)
Could not test on 2021.3.47f1 and 2022.3.55f1 due to "java.lang.RuntimeException: Unable to instantiate activity ComponentInfo" Exception
Could not test on 6000.1.0b1 due to an exception being spammed every frame preventing from building a APK "FormatException: Input string was not in a correct format. System.Number.ThrowOverflowOrFormatException"

Reproducible with these devices:
VLNQA00609 - Oculus Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno 740, OS: 12
VLNQA00415 - Oculus Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650, OS: 12

Testing Environment: Windows 11 23H2
Not reproducible on: no other environment tested

Notes:
-Issue only reproduces with OculusXR Plugin
-That error usually happens on VR when a shader doesn’t support Multiview. However, this is happening with the default shaders, which already have Multiview support
-Issue only reproduces on OpenGLES
-Issue only happens in Development Builds
-This error "Error Unity OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state" causes FPS drops, and it makes debugging and profiling more challenging

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.