TypeError: this._gl.vertexAttribDivisor is not a function
at t.e._bindVertexBuffersAttributes
at t.e.recordVertexArrayObject
at e._bind at at e.render
at e.renderUnsorted
at e.render
at e.render
at t._renderForCamera
renderer: ARM Mali-400 MP WebGL 1.0 (OpenGL ES 2.0 Chromium)
userAgent: Mozilla/5.0 (Linux; Android 11; Note_4CAM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
It is consistently happening for this device (I don’t own it, so can’t test)
I have no clue yet what triggers it, but there is a few minutes of rendering going on before it crashes.
Seems like this is a WebGL 2 function used on a WebGL 1 renderer (which I don’t force). When I force WebGL 1.0 locally everything works fine. Also I don’t see any problems for IPhone players.
this is on beta 11, but this device has never been used before, so no telling if this is a new issue.
I’ve dealt with this before with embedded devices that had Mali drivers… The drivers are broken in so many strange ways that you don’t have many choices except to design code that dances around the numerous issues. It’s not something you would want to support in a library since the behavior is non-standard.
Should count yourself lucky that the entire operating system kernel didn’t crash (happened to me frequently).
So it looks like you would not support the instanceExtension and some of the code still calls into it. Are you using Particles, Sprites, EdgesRenderer, Sprites or instances in your app ?
I don’t have access to the device unfortunately. But I think you’re right.
I think you need to pretty good GPU to play tuggowar without instances, so it wouldn’t help much to have a workaround for such a device. I guess a ‘this device is not supported’ will have to do.