收藏
回答

手机端正常,pc端报错无法进入游戏,卡在游戏内资源加载,如何解决?求帮忙

Laya引擎制作的小游戏,卡住这段使用了

mkdir

downloadFile

unzip


[ERROR:mini_game/src/binding/canvas/v8_html_canvas_element.cc(311)] getContext invalid type:webgl2

[ERROR:..mini_game/src/binding/base/utils.h(39)] ** -../../mini_game/src/binding/canvas/webgl/v8_webgl_rendering_context.cc:1698 -- Invalid napi_status: UNKNOWN

MiniProgramError Invalid napi_status: UNKNOWN Error: Invalid napi_status: UNKNOWN at Dt._setPixels (game.js:15:302155) at new Dt (game.js:15:300595) at Qe.<anonymous> (game.js:15:804131) at y.runWith (game.js:18:15550) at Qe.event (game.js:18:16063) at Qe.complete (game.js:18:336322) at Qe.onLoaded (game.js:18:335859) at t.onReadNativeCallBack (game.js:12:15372) at T.runWith (game.js:18:15466) at Function.success (game.js:12:1189)

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

1 个回答

登录 后发表内容
问题标签