Open lihxhit opened 4 months ago
我也遇到了,帮忙贴个日志,感觉像是cocos官方改spine导致的 [AdWebView] blob:null/35925b1d-c349-41f5-a428-8ee1801b9346: 1: [Spine]: Spine wasm load failed: TypeError: Failed to construct 'URL': Invalid URL [AdWebView] blob:null/35925b1d-c349-41f5-a428-8ee1801b9346: 1: TypeError: Nnt.SkeletonInstance is not a constructor [AdWebView] blob:null/35925b1d-c349-41f5-a428-8ee1801b9346: 1: Nnt.SkeletonInstance is not a constructor TypeError: Nnt.SkeletonInstance is not a constructor at new e (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:2:1535472) at Bp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:371894) at Fp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372342) at blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372253 at Bp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372020) at blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:373605 at Up (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:373736) at Yp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:375556) at e.parseImport (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:478697) at e.parse (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:479099) [AdWebView] blob:null/35925b1d-c349-41f5-a428-8ee1801b9346: 1: Nnt.SkeletonInstance is not a constructor TypeError: Nnt.SkeletonInstance is not a constructor at new e (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:2:1535472) at Bp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:371894) at Fp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372342) at blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372253 at Bp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:372020) at blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:373605 at Up (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:373736) at Yp (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:375556) at e.parseImport (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:478697) at e.parse (blob:null/35925b1d-c349-41f5-a428-8ee1801b9346:1:479099)
正常通过浏览器打开是正常的,但是上传到AppLovin的测试网站,用手机扫码就无法显示了 看了下官方的更新日志:
3.8.0 开始,引擎部分模块开始使用 wasm 实现,目前包括 spine,渲染 webgpu 后端,物理引擎的 bullet 和 physx 后端 Web平台使用wasm 实现,不支持的浏览器自动回滚到 asm.js 实现
如题,空项目带一个spine就会报错
目前降级到了3.8以下,3.7.4是·正常的