rive-app / rive-wasm

Wasm/JS runtime for Rive
MIT License
703 stars 51 forks source link

[Bug]WebAssembly.Module doesn't parse at byte 476: can't get 1th argument Type #349

Open ZaneL1u opened 6 months ago

ZaneL1u commented 6 months ago

Description

iOS devices use @rive-app/canvas to report errors

wasm streaming compile failed: CompileError: WebAssembly.Module doesn't parse at byte 476: can't get 1th argument Type

Provide a Repro

https://codesandbox.io/p/devbox/rive-wasm-problem-recurrence-wnrkpm?file=%2Fsrc%2Fmain.ts%3A30%2C1

Source .riv/.rev file

https://rive.app/static/riv/marty_purple_loop.riv

Screenshots

image

Browser & Versions (please complete the following information)

HayesGordon commented 6 months ago

Hi @ZaneL1u, thanks for reporting the issue. I can reproduce it on my device, and we'll investigate the issue.

zhangzhenxi0316 commented 5 days ago

Have you found out the cause of the bug?