Skip to content

v1.4.1

Latest

Choose a tag to compare

@doranteseduardo doranteseduardo released this 03 Dec 19:24
308d8b8

Fixes, on virocore 3.4.0's web build: a frame that throws is reported as an abort instead of freezing the canvas in silence, the loaders build with Vite and similar bundlers without warnings, and a physics box inferred from a scaled node keeps a solid core. Works with @reactvision/react-viro 3.3.0 and 3.4.0.

Fixed

  • A frame that throws is reported as an abort. onAbort, addAbortListener() and abortedWith fire with the error as reason and cause, and model loads in flight settle as failed.
  • The WASM and tracking loaders resolve their directories at runtime, so bundlers stop warning about ../wasm/.
  • Physics (from virocore 3.4.0): a box inferred from a scaled node keeps a solid core, and bodies are no longer added and removed twice ("Attempted to add the same physics body twice").

Check when upgrading

  • Copy the whole wasm/ folder again: the binary is new.