收藏
回答

Unity 导出微信小游戏在微信开发者工具中报错,真机运行没有报错

框架类型 问题类型 操作系统 工具版本
小游戏 Bug Windows 1.06.2402040 win32-x64

exception thrown: TypeError: GLctx[createFunction] is not a function,TypeError: GLctx[createFunction] is not a function

    at __glGenObject (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:94673)

    at _glGenQueries (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:95025)

    at GfxDeviceGLES::Init(GfxDeviceLevelGL) (<anonymous>:wasm-function[81740]:0x169bc75)

    at main (<anonymous>:wasm-function[50160]:0x1077e90)

    at Module._main (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:175561)

    at callMain (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:280118)

    at doRun (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:280941)

    at run (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:281113)

    at runCaller (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:17:279777)

    at removeRunDependency (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:2:16987)

    at receiveInstance (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:2:19142)

    at receiveInstantiationResult (http://127.0.0.1:60860/game/webgl.wasm.framework.unityweb.js:2:19356)(env: Windows,mg,1.06.2402040; lib: 3.2.5)

回答关注问题邀请回答
收藏
登录 后发表内容