有谁遇到过v3.7.1在模拟器上面跑报如下错误,
{
gl.supports_vertex_array_object: true
cocos2d.x.version: cocos2d-x-3.7.1
gl.vendor: Intel Inc.
gl.supports_PVRTC: false
gl.renderer: Intel HD Graphics 4000 OpenGL Engine
cocos2d.x.compiled_with_profiler: false
gl.max_texture_size: 16384
gl.supports_ETC1: false
gl.supports_BGRA8888: false
cocos2d.x.build_type: DEBUG
gl.supports_discard_framebuffer: false
gl.supports_NPOT: true
gl.supports_S3TC: true
gl.version: 2.1 INTEL-10.6.20
gl.supports_ATITC: false
gl.max_texture_units: 16
cocos2d.x.compiled_with_gl_state_cache: true
}
Project Config:
project dir: /Users/admin/Documents/work/TestGame/
writable path: (PROJDIR)/
script file: (PROJDIR)/main.js
frame size: 640 x 960
frame scale: 0.75
show console: NO
write debug log: NO ()
listen:
debugger: Cocos Code IDE
add searching path:
Console: listening on 0.0.0.0 : 6050
Console: listening on 0.0.0.0 : 6060
iShow!
LOAD Js FILE: main.js
(evaluatedOK == JS_FALSE)
JS: /Users/admin/Documents/work/TestGame/script/studio/jsb_studio_create_apis.js:101:TypeError: ccs.ObjectExtensionData is undefined
(evaluatedOK == JS_FALSE)
(evaluatedOK == JS_FALSE)
LOAD Js FILE: main.js
JS: /Users/admin/Documents/work/TestGame/script/jsb_boot.js:1011:TypeError: cc.FileUtils is undefined
(evaluatedOK == JS_FALSE)
(evaluatedOK == JS_FALSE)
JS: /Users/admin/Documents/work/TestGame/script/studio/jsb_studio_create_apis.js:101:TypeError: ccs.ObjectExtensionData is undefined
(evaluatedOK == JS_FALSE)
(evaluatedOK == JS_FALSE)
LOAD Js FILE: main.js
JS: /Users/admin/Documents/work/TestGame/script/jsb_boot.js:1011:TypeError: cc.FileUtils is undefined
(evaluatedOK == JS_FALSE)
(evaluatedOK == JS_FALSE)
JS: /Users/admin/Documents/work/TestGame/script/studio/jsb_studio_create_apis.js:101:TypeError: ccs.ObjectExtensionData is undefined
真机上面跑只有如下日志
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile