[Solved] Error on freeze / unfreeze


tried to reproduce some bug with freeze active meshes and accidentally got this error in my Playground

not like real use case but still decided to report, just in case

browser: Chrome
os: MacOS
version: latest

babylon.js:16 Uncaught RangeError: Invalid typed array length: 3904
    at new Uint8Array (<anonymous>)
    at e.updateDynamicVertexBuffer (babylon.js:16)
    at e.updateDirectly (babylon.js:16)
    at t._renderWithInstances (babylon.js:16)
    at t._processRendering (babylon.js:16)
    at t.render (babylon.js:16)
    at t.render (babylon.js:16)
    at e.renderUnsorted (babylon.js:16)
    at e.render (babylon.js:16)
    at e.render (babylon.js:16)

works fine on stabile version

Thank you

Perfect :slight_smile: will be fix in next nightly

1 Like