Android emulator + babylon.js

Hi!

I get this error when I try to run my babylonjs web app in the Android emulator on MacOS using Chrome. Works on a real device though. iOS emulator is not affected.

Additional error message from Flutter:

I/chromium( 4395): [INFO:CONSOLE(0)] "[.WebGL-0x76031da200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : 
glDrawElements: framebuffer incomplete (check)", source: http://10.0.2.2:5173/?bcode=B9998&tcode=T0000009 (0)

I tried all settings found here with partial luck.

If set to SwiftShader it works but runs at 8-9 FPS on an M4 Max :smiley: (I easily get 120 FPS on the machine itself):

Any Android devs around here who can give me a hint or some pointers?
Thanks!

EDIT: more info:

E/emuglGLESv2_enc( 4909): hardware/google/gfxstream/guest/GLESv2_enc/GL2Encoder.cpp:s_glTexImage3D:4430 GL error 0x501 condition [width > max_3d_texture_size]
E/chromium( 4909): [ERROR:texture_manager.cc(3350)] [.WebGL-0x6a00141400]GL ERROR :GL_INVALID_VALUE : glTexImage3D: 

D/eglCodecCommon( 4909): checkFramebufferAttachmentCompleteness: texture has zero dimension

Works well with Pixel based virtual device :wink:

2 Likes