#10903·pixijs

Bug: Uncaught Error: UniformBufferBatch: ubo batch got too big

Author: xpluscalCreated Aug 30, 2024Updated Aug 13, 2026
Labelspriority: normalscope: rendering

Current Behavior

When zooming out on a map with quite a couple of containers / graphics, we get this GPU error. It doesn't seem to be the amount of objects in the container. It does fail with about 10k elements, but works on other instances with 75k elements just fine.

First we assumed this might be related to the bindGroup algorithm issues that were fixed in the latest issues, but unfortunately doesn't seem to fix. Help appreciated

chunk-DOW3GTM3.js?v=3fc24f53:847 Uncaught Error: UniformBufferBatch: ubo batch got too big at UboBatch.addEmptyGroup (chunk-DOW3GTM3.js?v=3fc24f53:847:13) at GpuUniformBatchPipe.getUniformBindGroup (chunk-DOW3GTM3.js?v=3fc24f53:904:38) at GpuGraphicsAdaptor.execute (chunk-DOW3GTM3.js?v=3fc24f53:92:62) at GraphicsPipe.execute (chunk-4QPFUKC4.js?v=3fc24f53:3367:19) at executeInstructions (chunk-EVDFBIZT.js?v=3fc24f53:589:40) at RenderGroupPipe.execute (chunk-EVDFBIZT.js?v=3fc24f53:609:5) at executeInstructions (chunk-EVDFBIZT.js?v=3fc24f53:589:40) at RenderGroupSystem.render (chunk-EVDFBIZT.js?v=3fc24f53:927:5) at SystemRunner.emit (chunk-EVDFBIZT.js?v=3fc24f53:119:21) at WebGPURenderer.render (chunk-EVDFBIZT.js?v=3fc24f53:274:25)

Expected Behavior

Should render the groups as expected.

Steps to Reproduce

Hard to reproduce with a minimal repo, since the origin is unclear and only happens on specific

Environment

  • pixi.js version: 8.3.4
  • Browser & Version: Version 128.0.6613.84 (Official Build) (x86_64)
  • OS & Version: MacOS

Possible Solution

No response

Additional Information

No response