Cocos Creator v1.7.0 内测版发布帖(11月17日更新 rc.2)

问题已解决

这些打印log能不能去掉,不是每个平台都支持,我在OSX平台下就报错:

你用的creator版本是?
xcode版本是?

creator最新版本1.7正式版本,今天早上下载的;
xcode也是最新版本9.1

这个是web上的问题还是jsb的?

CocosCreator 多版本可以复制出来使用。不过配置文件将会共享。

这个我也搞不清楚,我是放在osx 应用里面加载web mobile报错的,我本来想用creator直接发布mac,但是发布出来的mac应用运行一半报错;

你是不是定制过引擎什么的?console.time 是 Creator 自带的,所有平台都能支持才对。

可能是mac app不支持console.time吧;
对了你们有没有发布mac应用测试一下,看下有没有问题,我发布出来用xcode调试会报错,其他平台都没有问题的

谢谢!

1.7.0版本控制台还是显示1.6版本

E/cocos2d-x: cocos2d: warning, Director::setProjection() failed because size is 0
请问每次都会提示这个正常吗

这个无视就好。

定制引擎这块的设置不应该共享,这个应该是项目设置这个级别比较合理

之前的 ScriptingCore::getInstance()->evalString(stringFunc);
是不是换成ScriptingCore::getInstance()->executeString(stringFunc);了
还是换了其他的实现方式了

没看文档的家伙。

1赞

终于知道摄相机的问题了,现在的摄相机创建了不能删除,如果删除了再创建就有概率会出现摄像机显示区黑屏的问题!!!只要是删除摄像机的操作就会出BUG,不管是直接删除摄像机节点后再创建新摄像机节点使用,还是切换场景。引擎组这个一定要关注一下啊,可是把我坑大了!!!

1.7rc2 只要选中resources文件夹,就有上面的报错,然后切换Inspector,属性不会变化。
1.70正式版也有这个问题

1赞

这是1.7编译的,然后crash 的log
11-28 21:06:54.773 3324-3324/? D/dalvikvm: Late-enabling CheckJNI
11-28 21:06:54.777 3324-3324/? I/dalvikvm: Turning on JNI app bug workarounds for target SDK version 10…
E/Trace: error opening trace file: No such file or directory (2)
I/CocosAnalytics: ==> enableLogging: false
D/dalvikvm: Trying to load lib /data/app-lib/org.nutsgame.richman-1/libcocos2djs.so 0xa69bcad0
D/dalvikvm: Added shared lib /data/app-lib/org.nutsgame.richman-1/libcocos2djs.so 0xa69bcad0
D/JniHelper: JniHelper::setJavaVM(0x9d7c5ba4), pthread_self() = -1217136832
D/main: cocos_android_app_init
D/Cocos2dxHelper: isSupportLowLatency:false
D/Cocos2dxHelper: sampleRate: 44100, framesPerBuffer: 512
D/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp: nativeSetAudioDeviceInfo: sampleRate: 44100, bufferSizeInFrames: 512
D/Cocos2dxActivity: model=GT-I8262D
D/Cocos2dxActivity: product=aruba3gzc
D/Cocos2dxActivity: isEmulator=false
D/FLQG_LOG: AgentManager: loadALLPlugin(), Get the supported plugins: NULL
D/FLQG_LOG: PluginFactory: Java class name of plugin UserDebug is : com/anysdk/framework/UserDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/UserDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/UserDebug:32
D/FLQG_LOG: Statistics: createPlugin(UserDebug,32)
D/FLQG_LOG: PluginFactory: Java class name of plugin IAPDebug is : com/anysdk/framework/IAPDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/IAPDebug----
D/FLQG_LOG: IAPDebug: payResult : 5 msg : init success
D/FLQG_LOG: Statistics: onActionResult(IAPDebug,5,init success)
W/FLQG_LOG: IAPObject: plugin is null
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/IAPDebug:8
D/FLQG_LOG: Statistics: createPlugin(IAPDebug,8)
D/FLQG_LOG: IAPDebug: getPluginId() invoked!
D/FLQG_LOG: PluginFactory: Java class name of plugin AnalyticsDebug is : com/anysdk/framework/AnalyticsDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/AnalyticsDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/AnalyticsDebug:1
D/FLQG_LOG: Statistics: createPlugin(AnalyticsDebug,1)
D/FLQG_LOG: PluginFactory: Java class name of plugin AdsDebug is : com/anysdk/framework/AdsDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/AdsDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/AdsDebug:16
D/FLQG_LOG: Statistics: createPlugin(AdsDebug,16)
D/FLQG_LOG: PluginFactory: Java class name of plugin ShareDebug is : com/anysdk/framework/ShareDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/ShareDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/ShareDebug:2
D/FLQG_LOG: Statistics: createPlugin(ShareDebug,2)
D/FLQG_LOG: PluginFactory: Java class name of plugin SocialDebug is : com/anysdk/framework/SocialDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/SocialDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/SocialDebug:4
D/FLQG_LOG: Statistics: createPlugin(SocialDebug,4)
D/FLQG_LOG: PluginFactory: Java class name of plugin PushDebug is : com/anysdk/framework/PushDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/PushDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/PushDebug:64
D/FLQG_LOG: Statistics: createPlugin(PushDebug,64)
D/FLQG_LOG: PluginFactory: Java class name of plugin CrashDebug is : com/anysdk/framework/CrashDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/CrashDebug----
D/FLQG_LOG: CrashDebug: configDeveloperInfo({})invoked!
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/CrashDebug:128
D/FLQG_LOG: Statistics: createPlugin(CrashDebug,128)
D/FLQG_LOG: PluginFactory: Java class name of plugin CustomDebug is : com/anysdk/framework/CustomDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/CustomDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/CustomDebug:256
D/FLQG_LOG: Statistics: createPlugin(CustomDebug,256)
D/FLQG_LOG: PluginFactory: Java class name of plugin RECDebug is : com/anysdk/framework/RECDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/RECDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/RECDebug:512
D/FLQG_LOG: Statistics: createPlugin(RECDebug,512)
D/FLQG_LOG: PluginFactory: Java class name of plugin AdTrackingDebug is : com/anysdk/framework/AdTrackingDebug
I/FLQG_LOG: PluginWrapper: class name : ----com/anysdk/framework/AdTrackingDebug----
D/FLQG_LOG: PluginFactory: java class com/anysdk/framework/AdTrackingDebug:1024
D/FLQG_LOG: Statistics: createPlugin(AdTrackingDebug,1024)
D/FLQG_LOG: Statistics: initInfo
D/Cocos2dxActivity: onResume()
D/AudioFocusManager: requestAudioFocus succeed
D/libEGL: loaded /system/lib/egl/libEGL_emulation.so

      [ 11-28 21:06:55.309  3324: 3344 D/         ]
      HostConnection::get() New Host Connection established 0xb7ceb9e0, tid 3344

D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
D/cocos2d-x: {
gl.supports_OES_packed_depth_stencil: true
gl.supports_vertex_array_object: false
gl.supports_BGRA8888: false
cocos2d.x.version: 1.7.0
gl.supports_discard_framebuffer: false
cocos2d.x.compiled_with_profiler: false
gl.supports_PVRTC: false
cocos2d.x.build_type: DEBUG
gl.renderer: OpenGL ES Translator (Intel® Iris™ Pro Graphics 6200)
gl.supports_OES_depth24: true
gl.supports_ETC1: true
gl.supports_OES_map_buffer: false
cocos2d.x.compiled_with_gl_state_cache: true
gl.version: OpenGL ES 2.0 (2.1 INTEL-10.25.17)
gl.supports_NPOT: true
gl.max_texture_units: 16
gl.vendor: Google (Intel Inc.)
gl.max_texture_size: 16384
}
E/cocos2d-x: cocos2d: warning, Director::setProjection() failed because size is 0
D/jswrapper: Initializing V8, version: 6.0.286.52
D/FLQG_LOG: CustomDebug: CustomResult result : 80000 msg : CUSTOMRESULT_CUSTOMREXTENSION
D/jswrapper: libuv version: 1.13.1
D/jswrapper: Debugger listening…, visit [ chrome-devtools://devtools/bundled/inspector.html?v8only=true&ws=0.0.0.0:5086/rowser to debug!
D/jswrapper: For help see https://nodejs.org/en/docs/inspector
D/cocos2d-x: cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
W/dalvikvm: dvmFindClassByName rejecting ‘org/cocos2dx/lib/Cocos2dxLocalStorage’
D/cocos2d-x: cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
A/libc: Fatal signal 4 (SIGILL) at 0x00000cfc (code=0), thread 3344 (Thread-115)

这是 1.6.2 运行的log,没有错的
11-28 21:19:04.309 4155-4155/? D/dalvikvm: Late-enabling CheckJNI
11-28 21:19:04.321 4155-4155/? I/dalvikvm: Turning on JNI app bug workarounds for target SDK version 10…
E/Trace: error opening trace file: No such file or directory (2)
D/dalvikvm: Trying to load lib /data/app-lib/org.nutsgame.richman-2/libcocos2djs.so 0xa69be6f8
D/dalvikvm: Added shared lib /data/app-lib/org.nutsgame.richman-2/libcocos2djs.so 0xa69be6f8
D/JniHelper: JniHelper::setJavaVM(0x9d7c5ba4), pthread_self() = -1217136832
D/main: cocos_android_app_init
D/Cocos2dxHelper: isSupportLowLatency:false
D/Cocos2dxHelper: sampleRate: 44100, framesPerBuffer: 512
D/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp: nativeSetAudioDeviceInfo: sampleRate: 44100, bufferSizeInFrames: 512
D/Cocos2dxActivity: model=GT-I8262D
D/Cocos2dxActivity: product=aruba3gzc
D/Cocos2dxActivity: isEmulator=false
D/dalvikvm: GC_FOR_ALLOC freed 85K, 3% free 8793K/9020K, paused 2ms, total 2ms
I/dalvikvm-heap: Grow heap (frag case) to 11.496MB for 2908172-byte allocation
D/dalvikvm: GC_FOR_ALLOC freed 1K, 2% free 11632K/11864K, paused 2ms, total 2ms
D/dalvikvm: GC_CONCURRENT freed <1K, 2% free 11632K/11864K, paused 2ms+0ms, total 3ms
D/dalvikvm: GC_FOR_ALLOC freed <1K, 2% free 11632K/11864K, paused 1ms, total 1ms
I/dalvikvm-heap: Grow heap (frag case) to 22.588MB for 11632652-byte allocation
D/dalvikvm: GC_CONCURRENT freed 0K, 2% free 22992K/23228K, paused 2ms+1ms, total 4ms
D/Cocos2dxActivity: onResume()
D/AudioFocusManager: requestAudioFocus succeed
D/libEGL: loaded /system/lib/egl/libEGL_emulation.so

       [ 11-28 21:19:04.825  4155: 4174 D/         ]
       HostConnection::get() New Host Connection established 0xb7cfeb78, tid 4174

D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
D/cocos2d-x: {
gl.supports_OES_packed_depth_stencil: true
gl.supports_vertex_array_object: false
gl.supports_BGRA8888: false
cocos2d.x.version: 1.6.2
gl.supports_discard_framebuffer: false
cocos2d.x.compiled_with_profiler: false
gl.supports_PVRTC: false
cocos2d.x.build_type: DEBUG
gl.renderer: OpenGL ES Translator (Intel® Iris™ Pro Graphics 6200)
gl.supports_OES_depth24: true
gl.supports_ETC1: true
gl.supports_OES_map_buffer: false
cocos2d.x.compiled_with_gl_state_cache: true
gl.version: OpenGL ES 2.0 (2.1 INTEL-10.25.17)
gl.supports_NPOT: true
gl.max_texture_units: 16
gl.vendor: Google (Intel Inc.)
gl.max_texture_size: 16384
}
E/cocos2d-x: cocos2d: warning, Director::setProjection() failed because size is 0
W/dalvikvm: dvmFindClassByName rejecting ‘org/cocos2dx/lib/Cocos2dxLocalStorage’
D/cocos2d-x debug info: Cocos2d-x-lite v1.6.0
D/cocos2d-x: create rendererRecreatedListener for GLProgramState
D/cocos2d-x: cocos2d: QuadCommand: resizing index size from [-1] to [2560]
D/cocos2d-x debug info: LoadScene efKKprUFlDMbdxF+X4uJp8: 480.6859999999997ms
D/cocos2d-x debug info: InitScene: 18.057999999999993ms
D/cocos2d-x debug info: AutoRelease: 0.7689999999997781ms
D/cocos2d-x debug info: Destroy: 0.13099999999985812ms
D/cocos2d-x debug info: Success to load scene: db://assets/Scene/LoadingScene.fire
D/cocos2d-x debug info: AttachPersist: 0.09700000000020736ms
D/cocos2d-x debug info: log count++ 1
D/cocos2d-x debug info: TaskA1===== init all config begin
D/cocos2d-x debug info: 语言文件 Onload

这个是日志,能看到崩溃堆栈信息么?

能提供个小demo么?