playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF

Home Page:https://playcanvas.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gslang in engine examples runs our of memory in Safari

mvaligursky opened this issue · comments

  • when switching many examples in WebGPU mode in Safari (Tech Preview 194), after about 20 examples the startup gets slower and slower, likely related to shader compilation, and eventually ends with gslang running out of wasm memory.
  • we need to investigate if we do all we can to clear up the memory / reload the wasm cleanly
  • but it could also be Safari issue as I cannot reproduce this in Chrome
Screenshot 2024-05-10 at 10 29 05 Screenshot 2024-05-10 at 10 23 21

related to #6088