2.0.9 热更新重启,cc.loader.load远程图片,导致崩溃

  • Creator 版本:2.0.9

  • 目标平台: IOS

  • 详细报错信息,包含调用堆栈:

  • 重现方式:高概率出现

  • 之前哪个版本是正常的 :没有热更 restart情况下正常

  • 手机型号 :IOS

  • 编辑器操作系统 :MAC OS

  • 出现概率:

  • 额外线索:
    2019-05-10 15:51:40.506859+0800 PocketRecreation-mobile[4241:913344] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10b2013b0] get output frames failed, state 8196
    Destroy WebGLProgram (6) by GC
    2019-05-10 15:51:40.506925+0800 PocketRecreation-mobile[4241:913344] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C5.1:2][0x10b2013b0] get output frames failed, state 8196
    2019-05-10 15:51:40.506976+0800 PocketRecreation-mobile[4241:913146] WebSocket (0x281fea200) was closed, no need to close it again!
    Destroy WebGLTexture (13) by GC
    2019-05-10 15:51:40.507059+0800 PocketRecreation-mobile[4241:913344] TIC Read Status [5:0x0]: 1:57
    2019-05-10 15:51:40.507071+0800 PocketRecreation-mobile[4241:913344] TIC Read Status [5:0x0]: 1:57
    Destroy WebGLTexture (12) by GC
    Destroy WebGLTexture (11) by GC
    Destroy WebGLBuffer (8) by GC
    Destroy WebGLTexture (9) by GC
    Destroy WebGLBuffer (7) by GC
    Destroy WebGLBuffer (6) by GC
    Destroy WebGLBuffer (5) by GC
    Destroy WebGLTexture (22) by GC
    Destroy WebGLTexture (8) by GC
    Destroy WebGLTexture (7) by GC
    Destroy WebGLTexture (2) by GC
    Destroy WebGLTexture (1) by GC
    Destroy WebGLBuffer (4) by GC
    Destroy WebGLBuffer (3) by GC
    Destroy WebGLBuffer (2) by GC
    Destroy WebGLBuffer (1) by GC
    ScriptEngine::cleanup end …
    Initializing JavaScriptCore
    JS: Enable batch GL commands optimization!
    JS: HupdateSearchPaths = ["/var/mobile/Containers/Data/Application/EE884DE9-FEBC-4160-A912-A3459AEF261C/Documents/remote-asset/",""]
    ScriptEngine::onGetStringFromFile buffer not found, possible missing file.
    ScriptEngine::runScript script buffer, buffer is empty!
    [ERROR] Failed to invoke require, location: /Users/fg19/Desktop/hall_self_dihao/dhgame/DhGame/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
    ScriptEngine::onGetStringFromFile fs not found, possible missing file.
    ScriptEngine::runScript script fs, buffer is empty!
    [ERROR] Failed to invoke require, location: /Users/fg19/Desktop/hall_self_dihao/dhgame/DhGame/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
    ScriptEngine::onGetStringFromFile fs not found, possible missing file.
    ScriptEngine::runScript script fs, buffer is empty!
    [ERROR] Failed to invoke require, location: /Users/fg19/Desktop/hall_self_dihao/dhgame/DhGame/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
    JS: Framework Main constructor

在热更重启的同时,不要去做其他的操作。就可以了:joy: