I narrowed it down to a possible incompatibility between order independent transparency and transparent GridMaterial. See the following PG for a replication - specifically the line gridMat.opacity = 0.98; which triggers the problem.
I am using a lot of transparency so I’m uncertain if it’s ONLY GridMaterial that’s triggering the issue - it could be something else as well. However, transparent GridMaterial definitely triggers the issue.
@Evgeni_Popov what about this issue then? No console error, but transparency is a mess just setting box.visibility = 0.8 (with default StandardMaterial):
I just updated Chrome to latest version 139.0.7258.139 (Official Build) (arm-64) on Surface Pro and the issue is still evident. No problem when scene.useOrderIndependentTransparency = false;
It doesn’t worry me too much. I can definitely do without it - I was just playing around. However I thought I better report it in case there was a genuine bug impacting some users.
@sebavan in preparing a Chrome bug report, I thought I’d do some more testing, and on Android Chromethat PG gives me a white screen and an uncaught type error. Reverting to scene.useOrderIndependentTransparency = false; and there’s no issue. I don’t know if this is related to or separate from the transparency issue on ARM64.
I don’t know much low-level webGL but in my naive searches I can find no mention of WebGL2RenderingContext.enableIndexed()
However, even dropping back to Babylon.js 7.x (well before this code addition) I still get a white screen on Android Chrome but no type error in console, when scene.useOrderIndependentTransparency = true;