[LayaAir3]物理库使用wsam版本,微信小游戏启动报错
TypeError: window.Box2D is not a function
at physics2DwasmFactory.initialize (physics2DwasmFactory.ts:262)
at Physics2D.enable (Physics2D.ts:117)
at r.initRender2D (Laya.ts:218)
at Laya.ts:176
并且libs/min目录下,Box2D.wasm文件也没有附加文件MD5
at physics2DwasmFactory.initialize (physics2DwasmFactory.ts:262)
at Physics2D.enable (Physics2D.ts:117)
at r.initRender2D (Laya.ts:218)
at Laya.ts:176
并且libs/min目录下,Box2D.wasm文件也没有附加文件MD5
没有找到相关结果
已邀请:
1 个回复
layaAir小孟
赞同来自: