Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.14f1
2020.3
2021.1
2021.2
Issue ID
1333735
Regression
No
[XR][Quest][Multiview] Errors spammed in device's log: OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION
Repro steps:
1. Open the attached project "OESTextureBug"
2. Build and Run on Quest
3. Observe the logcat
Expected: No errors are thrown
Actual: Errors are spammed
Reproducible with: 2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a17
Notes:
- Doesn't reproduce on MultiPass
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 memcpy when using ScreenCapture.CaptureScreenshot with superSize set to zero
- [URP] Package Samples - Missing scripts in Unity 2022+
- [URP][Package Samples] Continuous "Renderer at index _ is missing for camera _" warnings when opening sample scene
- [URP] Package Samples - Missing scripts in Unity 6
- [URP] Package samples - scenes using FirstPersonController not working in Unity 6
Resolution Note (2021.2.X):
The cause of the GL_INVALID_OPERATION is a shader that is not multiview-aware being used with a multiview framebuffer. In multiview, the vertex shader needs to be aware of which eye is rendering to as well as the number of views. Refer to unity's docummentation to find how to adapt your shaders to multiviewa and single-pass stereo: https://docs.unity3d.com/Manual/SinglePassStereoRendering.html