收藏
回答

已经开启了快适配 插件 还是报错提示添加. 求助怎么解决.

小游戏之前是正常开发中. 中间一次重新打包就提示这个错误. 插件是已经添加了的.

[插件 wxe5a48f1ed5f544b7] provider:wxe5a48f1ed5f544b7, version:1.2.39, 系统错误,错误码:-8000,system error

插件文档: https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wxe5a48f1ed5f544b7&token=&lang=zh_CN(env: Windows,mg,1.06.2402021; lib: 3.2.5)

[] ENOENT: no such file or directory, open '*/*/minigame/__context__/__plugin__/wxe5a48f1ed5f544b7/plugin.js'

Error: ENOENT: no such file or directory, open '*/*/minigame/__context__/__plugin__/wxe5a48f1ed5f544b7/plugin.js'

    at Object.openSync (node:fs:582:3)

    at Object.readFileSync (node:fs:450:35)

    at Object.r.readFileSync (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\unpack\hackrequire\index.js:2:63690)

    at FileUtils.getFile (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\fileutils\core\fileutils.js:1:14691)

    at l.getFile (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\9e98186e0eb2612f7d4d95a22d380472.js:2:2852)

    at compileJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\miniprogram-builder\modules\corecompiler\original\compile\handler\js.js:2:2310)

    at async OriginalCompileManager.compileJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\miniprogram-builder\modules\corecompiler\original\index.js:2:4545)

    at async l.compileJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\js\common\miniprogram-builder\modules\corecompiler\originalCompiler.js:2:3600)

    at async l.compileJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\9f57a344eeb9010fa48e4bdca27535fc.js:2:1792)

    at async f (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:1148)

    at async E (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:3567)

    at async exports.getCompiledJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:4150)

    at async exports.compileGameJS (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f0875bf21bfc4bd87275b7e0fbe7c4f7.js:2:5116)

    at async module.exports (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\bb2c2114b22d4af48ec81b0c1257b0f8.js:2:606)

    at async C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\af7e7c98cbc5339efce1d7549388ba10.js:2:942

    at async Proxy.module.exports (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\af7e7c98cbc5339efce1d7549388ba10.js:2:821)

    at async module.exports (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\907cc0638dd01cea382d3e7f42df7ac2.js:2:3809)

    at async Proxy.getGamePageResource (C:\Program Files (x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\b1646961ef2f09d5fda027ffc1432b60.js:2:3305)(env: Windows,mg,1.06.2402021; lib: 3.2.5)

game.js? [sm]:83 !!!插件需要申请才可使用

请勿使用测试AppID,并登录 https://mp.weixin.qq.com/ 并前往:能力地图-开发提效包-快适配 开通

阅读文档获取详情:https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/blob/main/Design/Transform.md(env: Windows,mg,1.06.2402021; lib: 3.2.5)

(anonymous) @ game.js? [sm]:83

Promise.then (async)

(anonymous) @ game.js? [sm]:63

TypeError: UnityManager is not a constructor

    at game.js? [sm]:147(env: Windows,mg,1.06.2402021; lib: 3.2.5)

回答关注问题邀请回答
收藏

1 个回答

  • zenas
    zenas
    04-08

    重启工具.清缓存或重新导出游戏 都会提示. 更新微信开发工具后不再出现....

    04-08
    有用
    回复
登录 后发表内容