收藏
回答

unity转微信小程序报错,无法进入游戏

框架类型 问题类型 操作系统 工具版本
小游戏 Bug Windows 1.06.2307250

unity转换完小程序之后,在开发者工具里无法进入游戏,报错 still waiting runDependencies, count= 1

eprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details. (anonymous) @ VM15 workerasdebug.js:1 (anonymous) @ VM15 workerasdebug.js:1 (anonymous) @ VM15 workerasdebug.js:1 (anonymous) @ VM15 workerasdebug.js:1 VM16 WAGame.js:1 Wechat Lib:3.0.0, 2023.8.18 18:01:52 VM16 WAGame.js:1 Current Wechat version do not support asynchronous getSystemInfo. "wx.getSystemInfoAsync" will be finished by synchronous implementation. [JS 文件编译错误] 以下文件通过自定义配置,已跳过 ES6 转 ES5 的处理 webgl.wasm.framework.unityweb.js plugin.js:77 [minigamefe mgp]: inited plugin.js:77 [PLUGIN WARN 16:04.20.700] http://usr/__GAME_FILE_CACHE目录不存在,创建目录 value @ plugin.js:77 value @ plugin.js:77 (anonymous) @ plugin.js:77 L @ plugin.js:74 (anonymous) @ plugin.js:74 t.<computed> @ plugin.js:74 (anonymous) @ plugin.js:77 gn @ plugin.js:77 value @ plugin.js:77 (anonymous) @ plugin.js:77 L @ plugin.js:74 (anonymous) @ plugin.js:74 t.<computed> @ plugin.js:74 (anonymous) @ plugin.js:77 gn @ plugin.js:77 value @ plugin.js:77 e @ plugin.js:77 value @ plugin.js:77 (anonymous) @ plugin.js:77 (anonymous) @ plugin.js:77 (anonymous) @ plugin.js:77 (anonymous) @ VM42 WAGameSubContext.js:1 runWith @ VM42 WAGameSubContext.js:1 C @ VM42 WAGameSubContext.js:1 n @ VM42 WAGameSubContext.js:1 (anonymous) @ plugin.js:2 (anonymous) @ VM42 WAGameSubContext.js:1 runWith @ VM42 WAGameSubContext.js:1 C @ VM42 WAGameSubContext.js:1 l @ VM16 WAGame.js:1 d @ VM16 WAGame.js:1 (anonymous) @ game.js? [sm]:65 Promise.then (async) (anonymous) @ game.js? [sm]:59 (anonymous) @ VM35 WAGameSubContext.js:1 runWith @ VM35 WAGameSubContext.js:1 C @ VM35 WAGameSubContext.js:1 (anonymous) @ VM113:1 doWhenAllScriptLoaded @ game.js:40 scriptLoaded @ game.js:55 script.onload @ game.js:63 load (async) (anonymous) @ game.js:62 (anonymous) @ game.js:74 Show 2 more frames plugin.js:77 [PLUGIN LOG 16:04.20.823] 使用公共目录存储patch plugin.js:77 [PLUGIN WARN 16:04.20.827] [仅开发版/体验版生效]已开启最佳实践检测, 请前往github查阅说明文档: https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/blob/main/Design/PerformanceMonitor.md value @ plugin.js:77 value @ plugin.js:77 e @ plugin.js:77 (anonymous) @ game.js? [sm]:138 Promise.then (async) (anonymous) @ game.js? [sm]:59 (anonymous) @ VM35 WAGameSubContext.js:1 runWith @ VM35 WAGameSubContext.js:1 C @ VM35 WAGameSubContext.js:1 (anonymous) @ VM113:1 doWhenAllScriptLoaded @ game.js:40 scriptLoaded @ game.js:55 script.onload @ game.js:63 load (async) (anonymous) @ game.js:62 (anonymous) @ game.js:74 game.js? [sm]:195 game starting {renderer: "", isH5Plus: false, abi: "", brand: "devtools", model: "xr", …} VM13 asdebug.js:1 Wed Nov 15 2023 16:04:20 GMT+0800 (中国标准时间) 配置中关闭合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书检查 VM13 asdebug.js:1 工具未校验合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书。 checkUrl @ VM13 asdebug.js:1 (anonymous) @ VM13 asdebug.js:1 b @ VM13 asdebug.js:1 createRequestTask @ VM13 asdebug.js:1 invoke @ VM13 asdebug.js:1 invoke @ VM16 WAGame.js:1 m @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 re @ VM16 WAGame.js:1 j @ VM16 WAGame.js:1 N @ VM16 WAGame.js:1 g @ VM16 WAGame.js:1 L @ VM16 WAGame.js:1 A @ VM16 WAGame.js:1 createRequestTask @ VM16 WAGame.js:1 execute @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 k @ VM16 WAGame.js:1 d @ VM16 WAGame.js:1 t @ VM35 WAGameSubContext.js:1 (anonymous) @ game.js? [sm]:210 Promise.then (async) (anonymous) @ game.js? [sm]:59 (anonymous) @ VM35 WAGameSubContext.js:1 runWith @ VM35 WAGameSubContext.js:1 C @ VM35 WAGameSubContext.js:1 (anonymous) @ VM113:1 doWhenAllScriptLoaded @ game.js:40 scriptLoaded @ game.js:55 script.onload @ game.js:63 load (async) (anonymous) @ game.js:62 (anonymous) @ game.js:74 plugin.js:77 [PLUGIN LOG 16:04.20.903] 缓存文件数= 0 ,总文件大小= 0 plugin.js:77 [PLUGIN LOG 16:04.20.982] [coverview-loadImage] cost= 88 plugin.js:77 [PLUGIN LOG 16:04.21.049] 资源无缓存 plugin.js:77 [PLUGIN LOG 16:04.21.050] 插件信息: {pluginVersion: "1.2.31", unityVersion: "2021.3.21f1c1", loadDataPackageFromSubpackage: false, adSpaceType: 0, adType: 0, …} plugin.js:77 [PLUGIN LOG 16:04.21.052] 开始下载wasm代码包 plugin.js:77 [PLUGIN LOG 16:04.21.053] 通过CDN加载资源 bfe93e17710be380.webgl.data.unityweb.bin.txt plugin.js:77 [PLUGIN LOG 16:04.21.054] 首包资源无缓存,开始下载 plugin.js:77 [PLUGIN LOG 16:04.21.054] 资源包下载url:https://quweiyou.oss-cn-hangzhou.aliyuncs.com/LuaTest/HouseNew/WebGL/v1/bfe93e17710be380.webgl.data.unityweb.bin.txt plugin.js:77 [PLUGIN WARN 16:04.21.069] 切换quotacontrol失败: {errMsg: "setFileSpaceStatistics:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} value @ plugin.js:77 fail @ plugin.js:77 p @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 K @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 s @ VM16 WAGame.js:1 (anonymous) @ VM13 asdebug.js:1 C @ VM13 asdebug.js:1 (anonymous) @ VM13 asdebug.js:1 g @ VM13 asdebug.js:1 f @ VM13 asdebug.js:1 (anonymous) @ VM13 asdebug.js:1 _ws.onmessage @ VM13 asdebug.js:1 plugin.js:77 [PLUGIN LOG 16:04.21.070] 使用主线程写文件 worker.js:1 [worker] getNetworkType:fail not support t.workerInvokeJsApi @ worker.js:1 (anonymous) @ worker.js:4 invoke @ worker.js:4 invoke @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 _privEmit @ worker.js:4 emit @ worker.js:4 je @ worker.js:4 Ue @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 Me @ worker.js:4 $e @ worker.js:4 e.g.__wxLibrary.onEnd @ worker.js:4 (anonymous) @ worker.js:4 worker.js:1 [worker] getPermissionBytes:fail not support t.workerInvokeJsApi @ worker.js:1 (anonymous) @ worker.js:4 invoke @ worker.js:4 invoke @ worker.js:4 F @ worker.js:4 (anonymous) @ worker.js:4 Ce @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 _privEmit @ worker.js:4 emit @ worker.js:4 je @ worker.js:4 Ue @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 Me @ worker.js:4 $e @ worker.js:4 e.g.__wxLibrary.onEnd @ worker.js:4 (anonymous) @ worker.js:4 worker.js:1 [worker] getSystemInfo:fail not support t.workerInvokeJsApi @ worker.js:1 (anonymous) @ worker.js:4 invoke @ worker.js:4 invoke @ worker.js:4 F @ worker.js:4 (anonymous) @ worker.js:4 Ce @ worker.js:4 ct @ worker.js:4 kt @ worker.js:4 bt @ worker.js:4 wt @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 _privEmit @ worker.js:4 emit @ worker.js:4 je @ worker.js:4 Ue @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 Me @ worker.js:4 $e @ worker.js:4 e.g.__wxLibrary.onEnd @ worker.js:4 (anonymous) @ worker.js:4 worker.js:1 [worker] getPermissionBytes:fail not support t.workerInvokeJsApi @ worker.js:1 (anonymous) @ worker.js:4 invoke @ worker.js:4 invoke @ worker.js:4 F @ worker.js:4 (anonymous) @ worker.js:4 Ce @ worker.js:4 c @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 _privEmit @ worker.js:4 emit @ worker.js:4 je @ worker.js:4 Ue @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 Me @ worker.js:4 $e @ worker.js:4 e.g.__wxLibrary.onEnd @ worker.js:4 (anonymous) @ worker.js:4 worker.js:1 [worker] getABTestConfig:fail not support t.workerInvokeJsApi @ worker.js:1 (anonymous) @ worker.js:4 invoke @ worker.js:4 invoke @ worker.js:4 F @ worker.js:4 (anonymous) @ worker.js:4 Ce @ worker.js:4 a @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 _privEmit @ worker.js:4 emit @ worker.js:4 je @ worker.js:4 Ue @ worker.js:4 (anonymous) @ worker.js:4 n @ worker.js:4 Me @ worker.js:4 $e @ worker.js:4 e.g.__wxLibrary.onEnd @ worker.js:4 (anonymous) @ worker.js:4 worker.js:1 [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details. t.onmessage @ worker.js:1 plugin.js:77 [PLUGIN TIME LOG 16:04.21.699] 下载wasm代码包: 647ms plugin.js:77 [PLUGIN LOG 16:04.21.703] start invoke UnityModule webgl.wasm.framework.unityweb.js:4 navigator.mediaDevices not supported by this browser. Webcam access will not be available. Try hosting the page over HTTPS, because some browsers disable webcam access when insecure HTTP is being used. unityFramework @ webgl.wasm.framework.unityweb.js:4 (anonymous) @ plugin.js:77 Promise.then (async) (anonymous) @ plugin.js:77 Promise.then (async) e.invokeLoadWasmCode @ plugin.js:77 t @ plugin.js:77 (anonymous) @ plugin.js:77 c @ plugin.js:77 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 oa @ 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 oa @ plugin.js:77 value @ plugin.js:77 complete @ game.js? [sm]:210 t @ VM35 WAGameSubContext.js:1 forEach.g.<computed> @ VM16 WAGame.js:1 p @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 c @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 p @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 emit @ VM16 WAGame.js:1 d @ VM16 WAGame.js:1 U @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 emit @ VM16 WAGame.js:1 c @ VM13 asdebug.js:1 (anonymous) @ VM13 asdebug.js:1 i.emit @ VM13 asdebug.js:1 callback @ VM13 asdebug.js:1 (anonymous) @ VM13 asdebug.js:1 p @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 setTimeout (async) globalThis.setTimeout @ VM16 WAGame.js:1 h @ VM13 asdebug.js:1 _ @ VM13 asdebug.js:1 O.onreadystatechange @ VM13 asdebug.js:1 XMLHttpRequest.send (async) b @ VM13 asdebug.js:1 createRequestTask @ VM13 asdebug.js:1 invoke @ VM13 asdebug.js:1 invoke @ VM16 WAGame.js:1 m @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 re @ VM16 WAGame.js:1 j @ VM16 WAGame.js:1 N @ VM16 WAGame.js:1 g @ VM16 WAGame.js:1 L @ VM16 WAGame.js:1 A @ VM16 WAGame.js:1 createRequestTask @ VM16 WAGame.js:1 execute @ VM16 WAGame.js:1 (anonymous) @ VM16 WAGame.js:1 k @ VM16 WAGame.js:1 d @ VM16 WAGame.js:1 t @ VM35 WAGameSubContext.js:1 (anonymous) @ game.js? [sm]:210 Promise.then (async) (anonymous) @ game.js? [sm]:59 (anonymous) @ VM35 WAGameSubContext.js:1 runWith @ VM35 WAGameSubContext.js:1 C @ VM35 WAGameSubContext.js:1 (anonymous) @ VM113:1 doWhenAllScriptLoaded @ game.js:40 scriptLoaded @ game.js:55 script.onload @ game.js:63 load (async) (anonymous) @ game.js:62 (anonymous) @ game.js:74 Show 19 more frames plugin.js:77 [PLUGIN LOG 16:04.21.725] addRunDependency: wasm-instantiate plugin.js:77 [PLUGIN LOG 16:04.21.726] addRunDependency: wasm-preloadAssets plugin.js:77 [PLUGIN TIME LOG 16:04.24.885] 下载资源包耗时: 3831ms plugin.js:77 [PLUGIN LOG 16:04.25.165] 资源包拷贝耗时278ms plugin.js:77 [PLUGIN TIME LOG 16:04.25.818] wasm编译耗时: 4092ms plugin.js:77 [PLUGIN LOG 16:04.25.819] removeRunDependency: wasm-instantiate plugin.js:77 [PLUGIN TIME LOG 16:04.25.986] 读取资源文件: 819ms plugin.js:77 [PLUGIN LOG 16:04.26.010] [coverview] start compile animation plugin.js:77 [PLUGIN ERROR 16:04.50.848] still waiting runDependencies, count= 1(env: Windows,mg,1.06.2307250; lib: 3.0.0) value @ plugin.js:77 (anonymous) @ plugin.js:77 v @ VM42 WAGameSubContext.js:1 (anonymous) @ VM42 WAGameSubContext.js:1 (anonymous) @ VM42 WAGameSubContext.js:1 (anonymous) @ VM42 WAGameSubContext.js:1 setTimeout (async) (anonymous) @ VM42 WAGameSubContext.js:1 globalThis.setTimeout @ VM42 WAGameSubContext.js:1 value @ plugin.js:77 value @ plugin.js:77 value @ plugin.js:77 e @ plugin.js:77 (anonymous) @ game.js? [sm]:138 Promise.then (async) (anonymous) @ game.js? [sm]:59 (anonymous) @ VM35 WAGameSubContext.js:1 runWith @ VM35 WAGameSubContext.js:1 C @ VM35 WAGameSubContext.js:1 (anonymous) @ VM113:1 doWhenAllScriptLoaded @ game.js:40 scriptLoaded @ game.js:55 script.onload @ game.js:63 load (async) (anonymous) @ game.js:62 (anonymous) @ game.js:74 worker.js:1 [worker] reportRealtimeAction:fail not support
回答关注问题邀请回答
收藏
登录 后发表内容