老铁,搞定了没?
unity导出小程序加载场景报错?plugin.js:77 exception thrown: RuntimeError: function signature mismatch,RuntimeError: function signature mismatch at <anonymous>:wasm-function[1309]:0x68d54 at <anonymous>:wasm-function[11353]:0x1c5512 at <anonymous>:wasm-function[1277]:0x685a1 at <anonymous>:wasm-function[43504]:0xb71322 at <anonymous>:wasm-function[16923]:0x2d8268 at <anonymous>:wasm-function[4574]:0xbc7e7 at <anonymous>:wasm-function[78683]:0x13cf029 at <anonymous>:wasm-function[5707]:0xeaf7a at <anonymous>:wasm-function[1309]:0x68d54 at <anonymous>:wasm-function[95281]:0x1758031(env: Windows,mg,1.06.2306020; lib: 2.32.2) printErr @ plugin.js:77 callMain @ webgl.wasm.framework.unityweb.js:14 doRun @ webgl.wasm.framework.unityweb.js:14 run @ webgl.wasm.framework.unityweb.js:14 runCaller @ webgl.wasm.framework.unityweb.js:14 removeRunDependency @ webgl.wasm.framework.unityweb.js:4 receiveInstance @ webgl.wasm.framework.unityweb.js:4 receiveInstantiationResult @ webgl.wasm.framework.unityweb.js:4 Promise.then (async) instantiateArrayBuffer @ webgl.wasm.framework.unityweb.js:4 instantiateAsync @ webgl.wasm.framework.unityweb.js:4 createWasm @ webgl.wasm.framework.unityweb.js:4 unityFramework @ webgl.wasm.framework.unityweb.js:14 (anonymous) @ plugin.js:77 Promise.then (async) (anonymous) @ plugin.js:77 Promise.then (async) value @ plugin.js:77 (anonymous) @ plugin.js:77 L @ plugin.js:74 (anonymous) @ plugin.js:74 t.<computed> @ plugin.js:74 o @ plugin.js:77 Promise.then (async) u @ plugin.js:77 (anonymous) @ plugin.js:77 Qi @ plugin.js:77 (anonymous) @ plugin.js:77 Promise.then (async) (anonymous) @ plugin.js:77 L @ plugin.js:74 (anonymous) @ plugin.js:74 t.<computed> @ plugin.js:74 (anonymous) @ plugin.js:77 Qi @ plugin.js:77 value @ plugin.js:77 (anonymous) @ game.js? [sm]:206 Promise.then (async) (anonymous) @ game.js? [sm]:58 (anonymous) @ VM683 WAGameSubContext.js:1 runWith @ VM683 WAGameSubContext.js:1 T @ VM683 WAGameSubContext.js:1 (anonymous) @ VM762:1 doWhenAllScriptLoaded @ game.js:40 (anonymous) @ game.js:14 t.onload @ VM681:9 load (async) c @ VM681:9 window.loadBabelMod @ VM681:9 (anonymous) @ unsupportedIterableToArray.js:2 VM668 WAGame.js:1 TypeError: Browser.mainLoop.scheduler is not a function at Object.resume (webgl.wasm.framework.unityweb.js:14) at Object.calledMainCb (plugin.js:77) at callMain (webgl.wasm.framework.unityweb.js:14) at doRun (webgl.wasm.framework.unityweb.js:14) at run (webgl.wasm.framework.unityweb.js:14) at runCaller (webgl.wasm.framework.unityweb.js:14) at removeRunDependency (webgl.wasm.framework.unityweb.js:4) at receiveInstance (webgl.wasm.framework.unityweb.js:4) at receiveInstantiationResult (webgl.wasm.framework.unityweb.js:4)(env: Windows,mg,1.06.2306020; lib: 2.32.2)
2023-10-17老铁,解决了没?
unity打包的场景切换失效使用unity创建3个场景,代码中使用SceneManager.LoadScene加载新场景时在unity中可以正常跳转,转换为小游戏控制台会输出错误216,以及plugin.js:77 exception thrown: Error: WXUncaughtException,Error: WXUncaughtException,当把场景打包成ab包,从ab包加载场景也是同样的错误
2023-10-16Unity开发的微信小游戏可以使用异步加载场景嘛?
Unity开发微信小程序-切换场景的时候音乐不能正常播放了1.unity版本2020.3.46,用的是最新的插件minigame.202304061648.unitypackage。 2.转换后正常在模拟器上跑没问题,在开始游戏的场景设置了背景音乐,点击开始按钮进入游戏,加载了另外一个背景音乐。模拟器上一切正常。 3.点击预览生成二维码,我用手机扫描二维码进入微信小游戏。在开始游戏页确实是好使的,但是点击开始按钮进入游戏第一关就没背景音乐了。 4.我自己查出来的问题是,如果在开始页面不加载音频,那么在第一关里第一次加载音频是好使的,所以问题一定是在场景切换的时候导致了音频不可用了,但是我不知道为什么,求解答。 5.MP3和WAV的音频格式我都实验了,都有问题,所以不存在音频格式导致的问题。
2023-10-16