Engine 2.23.1: gsplat issues on Samsung Internet (Galaxy Tab S8 Ultra) - buffer over WebGPU limit with budget 0, and streaming stalls

Hi, two issues found while moving a streamed SOG (lod-meta.json) project from 2.22 to 2.23.1. Unified gsplat, WebGPU first, WebGL 2 fallback.

Both issues only appear in Samsung Internet; Chrome on the same tablet and desktop/iPad are fine.

Setup - Engine 2.23.1, npm/Vite export - Galaxy Tab S8 Ultra (Adreno 7xx), Samsung Internet 30 (Chrome/143 base), WebGPU active - webgpureport in Samsung Internet: maxStorageBufferBindingSize = 134217728 (128 MB)

  1. Splat budget 0 exceeds maxStorageBufferBindingSize Samsung Internet on tablets requests the desktop site by default, so my app applied its desktop setting, splatBudget = 0. Since 2.23 (PR #9584), 0 means no budget, so the whole scene loads at full detail.

Result: splats render while streaming, then all disappear when loading completes (meshes still render). Console: Binding size (162227104 … 288666592) of [Buffer (unlabeled)] is larger than the maximum storage buffer binding size (134217728)

While validating [BindGroupDescriptor] / [Device].CreateBindGroup followed by repeated “Invalid BindGroup” and “Invalid CommandBuffer”. I fixed my device detection on my side, but should the engine clamp the effective budget (or split buffers) so it never exceeds the device’s maxStorageBufferBindingSize? Today a budget of 0 can make all splats vanish on devices with the default 128 MB limit.

  1. Random streaming stalls (Samsung Internet only, since 2.23) On first visit (cache disabled), groups of streamed LOD files (means_l/quats/scales/sh0.webp plus meta.json of the same node) intermittently stall for 2 to 15 s. DevTools Timing for one such file: queueing 9 ms, stalled 5 ms, waiting for server 156 ms, content download 14.82 s (1.65 MB). Some requests stay “pending”. Occasional console errors: GET …/lod/1_3/quats.webp net::ERR_FAILED 200 (OK) Protocol h2, served from a Bunny CDN pull zone with token auth.

Same tablet, same network: no stalls in Chrome, and no stalls in Samsung Internet with my previous 2.22 build. The scene stays blurry until the stalled files arrive.

Could the new loading order (PR #9520, nearest files first) or the number of parallel streaming requests interact badly with Samsung Internet’s network stack? Is there a way to limit concurrent streaming requests?

Happy to provide more captures or test a build. Thanks!

Yep budget of 0 means no budget, and so it loads the whole scene. It seems 134217728 (134MB) is the largest storage buffer that device supports, and so it runs out.

I’d suggest you use a budget that is less than the full screen, the device likely would not render this with any decent speed.

But I’ll look at enforcing budget that is less than the buffer sizes, that’s a far ask.

Thanks Martin,

that confirms what I saw. I now detect Android tablets in “desktop site” mode (Samsung Internet reports a Linux x86 user agent, only navigator.platform shows ARM), so the tablet gets our mobile budget and the splats render fine. Enforcing a budget below the device buffer limit would be great as a safety net.

Update on the slow streaming: found the cause, and it is not the engine. Blocking the video files of the scene (webm/mp4 used as textures on hotspots and panels) in DevTools makes the stalls disappear completely, over 10+ page loads.

The videos load as partial (206) requests on the same HTTP/2 connection as the LOD files, and once the browser has buffered enough it stops reading them, which seems to stall the whole connection for 10 to 15 s while the splats are streaming. It also happened with 2.22, the 2.23 nearest-first loading just made it visible.

Fix on my side, the video scripts now wait for our “splat ready” event plus a short delay before loading anything. No more stalls now, videos load after the LOD files.

Posting in case someone sees the same symptom.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.