版本是creator1.6.2, 使用的引擎是cocos2d-x-lite v1.6。v1.6版本和内置引擎有什么不同吗?
我使用内置引擎也会报错,很少复现,使用下载的定制引擎时候会经常报错,具体如下:
我修改使用热更新示例后,当检查到有更新时,代码弹出一个提示框,点击更新则调用示例里面的hotUpdate,结果报错标题错误。
详细错误如下:
2017-10-31T06:33:04.672Z - normal: Simulator: JS Exception: null is not a function, file: , lineno: 0
2017-10-31T06:33:04.673Z - normal: Simulator:
2017-10-31T06:33:04.674Z - normal: Simulator: Stack:
2017-10-31T06:33:04.674Z - normal: Simulator:
2017-10-31T06:33:04.674Z - normal: Simulator: jsb: ERROR: File /Users/xiaofuan/Documents/workplace/cocos2d-x-lite/cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.cpp: Line: 1293, Function: operator()
2017-10-31T06:33:04.674Z - normal: Simulator: lambda function : Error processing return value with type int
2017-10-31T06:33:04.675Z - normal: Simulator: Already up to date with the latest remote version.
2017-10-31T06:33:04.675Z - normal: Simulator: {“failed”:false,“percent”:1,“needRestart”:false}
2017-10-31T06:33:04.675Z - normal: Simulator: JS Exception: lambda function : Error processing return value with type int, file: , lineno: 0
2017-10-31T06:33:04.676Z - normal: Simulator:
2017-10-31T06:33:04.676Z - normal: Simulator: Stack:
2017-10-31T06:33:04.756Z - normal: Simulator: basic_object_finalize 0x179271c0 …
2017-10-31T06:33:05.575Z - normal: Simulator: tasks length: 57
2017-10-31T06:33:05.575Z - normal: Simulator: ArenaGradeDiscountSpec load from local: file not exist -> /Users/xiaofuan/Documents/workplace/cocos2d-x-lite/simulator/mac/Simulator.app/Contents/Resources/remote-assets/data/specs/configs.db
2017-10-31T06:33:05.704Z - normal: Simulator: tasks length: 56