Cocos Creator v1.6.0 内测版发布帖(8月11日更新 rc.1)

哎 打不开项目 啥报错也没有 就是没反应 界面没出来

原生上TiledMap在使用getPropertiesForGID时,如果该图块没有设置Custom Propertie,则新版本直接报错,之前的版本都不会报错:

Simulator: jsb: ERROR: File /Users/nantas/fireball-x/cxp/cocos/scripting/js-bindings/auto/jsb_cocos2dx_auto.cpp: Line: 49451, Function: js_cocos2dx_TMXTiledMap_getPropertiesForGID
Simulator: js_cocos2dx_TMXTiledMap_getPropertiesForGID : error parsing return value
Simulator: JS Exception: js_cocos2dx_TMXTiledMap_getPropertiesForGID : error parsing return value, file: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/simulator/mac/Simulator.app/Contents/Resources/src/jsb_polyfill.js, lineno: 29133

@nantas

websocket新特性在安卓上一致么?包括wss等

模拟器打不开,命令行做出的版本在手机上黑屏(native版本),没有看到报错,原先是1.5.2的项目

一样的问题,模拟器也打不开,

目测大概是项目里的 scripts 顺序乱了,导致部份的js无法继续执行下去

看看是不是更好用了

1.4.2直接升级过来没有报错可以编译运行:slightly_smiling:,太棒了。
就是我自己的JSB绑定代码很多报错,应该需要重新绑定。

创建脚本的时候希望可以自己命名文件,并且可以选择创建的脚本类型,比如创建组件脚本或者创建普通的脚本。

https://github.com/facebook/SocketRocket

请问是什么平台,编辑器、预览还是构建后?

web 还是模拟器?

这个问题是由于图片所在 plist 过大,导致编辑时超时,我们还在想办法

编辑器黑屏?

能不能给我一个 demo 我测试一下?

哈哈,jsb的性能问题解决啦,这个测试版是不是还没有把资源模块加入进去啊?期待正式版的早日到来,一个完整的2D版终于要好了

能否在 web 上确认一下:

  1. 引擎是否加载(看 DevTools 的 Network 里,引擎相关的文件有没有加载)
  2. 新建范例项目是否能运行
  3. DevTools 的 Sources 里,是否能找到项目里的其他脚本

每个平台都能用,增加了 CC_BUILD, CC_DEBUG, CC_PREVIEW,到时正式版的 API 文档中会有

1.6.0 beta.1 Windows模拟器在Creator中打不开,没有任何提示。资源管理器中直接打开,提示:

pomelo websocket 出错, 1.5.2 正常 1.6报错如下
07-14 10:18:54.070 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) Unhandled websocket event: 38
07-14 10:18:54.082 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.096 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) Unhandled websocket event: 33
07-14 10:18:54.096 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) Unhandled websocket event: 50
07-14 10:18:54.096 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) Unhandled websocket event: 4
07-14 10:18:54.097 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) onConnectionClosed, state: 1 …
07-14 10:18:54.097 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: onConnectionClosed, WebSocket (0x9e5c5f10) is closing by server.
07-14 10:18:54.097 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket (0x9e5c5f10) onConnectionClosed DONE!
07-14 10:18:54.112 6492-6549/com.sswkeji.SSWGame D/cocos2d-x debug info: 关闭pomelo 所有的回调函数
07-14 10:18:54.113 6492-6549/com.sswkeji.SSWGame D/cocos2d-x debug info: socket close: [object Object]
07-14 10:18:54.113 6492-6549/com.sswkeji.SSWGame D/WebSocket.cpp: In the destructor of WebSocket (0x9e5c5f10)
07-14 10:18:54.113 6492-6549/com.sswkeji.SSWGame D/WebSocket.cpp: before join ws thread
07-14 10:18:54.117 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: NOTICE: lws_context_destroy
07-14 10:18:54.117 6492-6868/com.sswkeji.SSWGame D/WebSocket.cpp: WebSocket thread exit, helper instance: 0x9e8fa5e0
07-14 10:18:54.118 6492-6549/com.sswkeji.SSWGame D/WebSocket.cpp: after join ws thread
07-14 10:18:54.119 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.129 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.145 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.162 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.179 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.195 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.211 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.228 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.243 6492-6549/com.sswkeji.SSWGame D/Surface: Surface::setBuffersDimensions(this=0xb4587c00,w=720,h=1280)
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: Chrome build fingerprint:
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: 1.0
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: 1
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: 45012863-7d3b-4c30-8ccf-e65394c57d85
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
07-14 10:18:54.427 6492-6549/com.sswkeji.SSWGame A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe5e5e5e9 in tid 6549 (GLThread 3296)
07-14 10:18:59.385 6492-6492/com.sswkeji.SSWGame V/SettingsInterface: from settings cache , name = hw_membrane_touch_enabled , value = null
07-14 10:18:59.385 6492-6492/com.sswkeji.SSWGame V/SettingsInterface: from settings cache , name = hw_membrane_touch_navbar_enabled , value = null
07-14 10:18:59.385 6492-6492/com.sswkeji.SSWGame D/FeatureProxyBase: FeatureProxyBase class constructor
07-14 10:18:59.385 6492-6492/com.sswkeji.SSWGame D/FeatureProxyBase: getService(), serviceName = multiwindow_service_v1

这个 protocol.js 是你项目中的代码吧?能看看报错的是什么代码吗?

这个 protocol 是你自己脚本里引用的吧,可以在这一行打个断点跟一下,看看哪个对象 undefined 了

Windows模拟器ucrtbased.dll找不到的问题,把这个dll拷贝到c:\windows\syswow64\下,解决了:
ucrtbased.zip (549.8 KB)

你的操作系统是?system32文件夹下有 ucrtbased.dll 这个文件吗

没有黑屏 就是编辑器完全没打开出来,就Dock的图标出现在那 library temp build local我全删了还是不行