Sign in to follow this  
Hersir

WebGl error on isVisible change in webview

Recommended Posts

Hi,

have weird issue on android webview (Note 8, Android 7.1.1)

Have meshes, that are clones of 1 mesh, with different materials (PBRMetallicRoughnessMaterial).

These meshes have 2 states enabled and disabled, and each state have different baseTexture.

Also these meshes are set visible and hidden using isVisible.

When state changes to enabled, texture is changed on material and isVisible is set to true,

all works well except in android webview, where such error is thrown and mesh is transparent.

If mesh visibility is not changed (all are visible all the time), there are no error.

[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : GetShaderiv: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2DMultisample: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2DMultisample: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: <- error from previous GL command
[.Offscreen-For-WebGL-0x72eb80ce00]GL ERROR :GL_INVALID_OPERATION : glFramebufferTexture2DMultisample: <- error from previous GL command

thank you for any hint :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.