wechat-miniprogram / minigame-unity-webgl-transform

Wechat Mini Game Unity engine adapter documents.
https://wechat-miniprogram.github.io/minigame-unity-webgl-transform/
MIT License
2.99k stars 456 forks source link

unity3d 2021.2.19f1c1 个人版 #63

Closed cd711 closed 2 years ago

cd711 commented 2 years ago

unity3d 2021.2.19f1c1 for mac个人版 插件版本 202204081745

生成小游戏项目后,用微信开发工具打开报错

plugin.js:74 exception thrown: ReferenceError: AbortController is not defined,ReferenceError: AbortController is not defined
    at _JS_WebRequest_Create (http://127.0.0.1:25761/game/webgl.wasm.framework.unityweb.js:3:59178)
    at <anonymous>:wasm-function[40830]:0x7dab20
    at <anonymous>:wasm-function[39496]:0x79a5eb
    at <anonymous>:wasm-function[39499]:0x79a829
    at <anonymous>:wasm-function[11801]:0x1af4ab
    at <anonymous>:wasm-function[5996]:0xbf13e
    at <anonymous>:wasm-function[23309]:0x44d8b1
    at <anonymous>:wasm-function[39514]:0x79aa95
...
VM184 WAGameSubContext.js:2 Unhandled promise rejection TypeError: Browser.mainLoop.scheduler is not a function
    at Object.resume (webgl.wasm.framework.unityweb.js:3)
    at Object.calledMainCb (plugin.js:74)
    at callMain (webgl.wasm.framework.unityweb.js:3)
    at doRun (webgl.wasm.framework.unityweb.js:3)
    at run (webgl.wasm.framework.unityweb.js:3)
    at runCaller (webgl.wasm.framework.unityweb.js:3)
    at Object.removeRunDependency (webgl.wasm.framework.unityweb.js:3)
....

还没有到出现"插件授权"的提示

webgl目录浏览器可以正常打开

Skierhou commented 2 years ago

我也遇到这个 不知道咋搞

cuco commented 2 years ago

遇到同样问题

bai1231111123 commented 2 years ago

请问你找到解决方法了吗?

luckyzwei commented 2 years ago

我也遇到这个问题,请问有解决方案吗

QiuBuZai commented 2 years ago

没人管吗?

luckyzwei commented 2 years ago

我咨询了开发人员,说需要使用2021.2.18之前的版本,之后的版本有适配问题他们还在处理

QiuBuZai commented 2 years ago

是的要2.18之前版本(应该包括2.18)

Oooocean commented 2 years ago

目前已支持2021 LTS版本

Lang-Ren-01 commented 1 year ago

windows unity 2021.3.23f1 webGL1.0还有这个错 exception thrown: TypeError: GLctx[createFunction] is not a function,TypeError: GLctx[createFunction] is not a function at __glGenObject VM67 WAGame.js:1 TypeError: Browser.mainLoop.scheduler is not a function