Cocos Creator v2.2.0 测试版如约而至(10/16 更新 rc.5)

构建的时候,
选项 “ 内联所有 SpriteFrame “, 每次都会自动帮忙 勾上; 即使设置文件里面已经是 false了。

播放音效,在web上是正常的,但是在ios真机上会出现以下错误。
在场景中有一个“auido”节点,然后从该节点获取自定义的Audio组件,播放一些通用的音效。

ERROR: Uncaught TypeError: Cannot read property 'loaded' of undefined, location: jsb-adapter/jsb-engine.js:0:0
STACK:
[0]audioEngine.play@jsb-adapter/jsb-engine.js:1174
[1]play@src/project.dev.js:5767
[2]playClick@src/project.dev.js:5779
[3]onClickOk@src/project.dev.js:17473
[4]emit@src/cocos2d-jsb.js:14492
[5]emitEvents@src/cocos2d-jsb.js:14475
[6]_onTouchEnded@src/cocos2d-jsb.js:14063
[7]156.proto.emit@src/cocos2d-jsb.js:27666
[8]_doDispatchEvent@src/cocos2d-jsb.js:8103
[9]dispatchEvent@src/cocos2d-jsb.js:8792
[10]_touchEndHandler@src/cocos2d-jsb.js:7995
[11]_onTouchEventCallback@src/cocos2d-jsb.js:20904
[12]_dispatchEventToListeners@src/cocos2d-jsb.js:20988
[13]_dispatchTouchEvent@src/cocos2d-jsb.js:20937
[14]dispatchEvent@src/cocos2d-jsb.js:21184
[15]handleTouchesEnd@src/cocos2d-jsb.js:25684
[16]touchend@src/cocos2d-jsb.js:25886
[17]anonymous@src/cocos2d-jsb.js:25899
[18]dispatchEvent@jsb-adapter/jsb-builtin.js:2880
[19]anonymous@jsb-adapter/jsb-builtin.js:2919
[ERROR] (/Volumes/work/test/game-client/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/jswrapper/v8/Object.cpp, 534): Invoking function (0x2820e34e0) failed!
D/AudioEngine-inl.mm (172): UIApplicationWillResignActiveNotification
2019-10-13 21:26:23.917570+0700 GAME-mobile[5904:2700431] Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

一个Button, 我如果先在场景里面设置这个node.active = false后
在运行的时候,在设置interactable后,再active =true。
变灰后的sprite,不会变回来了。但Button还是可以点击的。

请问大概什么时候会出正式版本?

升级后出现了大量的此错误提示,之前2.1.2
at CCClass._invoke (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:167:24)
at CCClass.invoke (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:145:22)
at CCClass.updatePhase (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:367:36)
at cc.Director.mainLoop (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/CCDirector.js:437:41)
at EditorEngine.tickInEditMode (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/page/scene-utils/editor-engine/index.js:1:2678)
at EditorEngine._tick (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/page/scene-utils/editor-engine/index.js:1:4373)
@jare

升级到2.2后,所有bmfont中的字出现了 全部上移的情况

构建不能成功,会一直刷屏提示这个

错误

typeerror的这个错误删除某个.fire文件后,就暂时好像修复了这个问题,编译的时候又出现了新的错误
TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
at Object.execInstallNativePlatformScript (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/ccServices.js:1:2827)
at e (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/cocos-services/main.js:1:100)
at internal/util.js:288:30
at new Promise ()
at e (internal/util.js:287:12)
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:734
at processTicksAndRejections (internal/process/task_queues.js:86:5)
at /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:761
at processTicksAndRejections (internal/process/task_queues.js:86:5)
的这个错误,我尝试打开服务面板,但打不开,会一直卡在加载页面。服务的话我只用了cocos an什么什么的那个统计服务。


我把 lib文件夹,local文件夹,setting文件夹,temp文件夹全删除后,居然编译通过了,之后到了ios上就疯狂报错。
现在我有点晕,不知道哪里着手修

我回到2.1.2,在服务面板把 cocos an…什么的关闭后,然后复制一个项目出来用2.2打开,这次无论怎么删除 .fire文件,都一直提示TypeError: Cannot read property ‘undefined’ of undefined
at CCClass._invoke (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:167:24)
at CCClass.invoke (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:145:22)
at CCClass.updatePhase (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/component-scheduler.js:367:36)
at cc.Director.mainLoop (/Applications/CocosCreator220.app/Contents/Resources/engine/bin/.cache/dev/cocos2d/core/CCDirector.js:437:41)
at EditorEngine.tickInEditMode (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/page/scene-utils/editor-engine/index.js:1:2678)
at EditorEngine._tick (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/page/scene-utils/editor-engine/index.js:1:4373)

服务面板依然打不开

TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
at Object.execInstallNativePlatformScript (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/builtin/cocos-services/panel/utils/ccServices.js:1:2827)
at e (/Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/builtin/cocos-services/main.js:1:100)
at internal/util.js:288:30
at new Promise ()
at e (internal/util.js:287:12)
at /Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:734
at processTicksAndRejections (internal/process/task_queues.js:86:5)
at /Applications/CocosCreator220.app/Contents/Resources/app.asar/editor/lib/builder/index.js:1:761
at processTicksAndRejections (internal/process/task_queues.js:86:5)

试了下,我把项目下的文件夹删成了这样


还是打不开服务面板,一直加载中

微信平台:2.2RC1 版本的问题:
1:ScrollView/PageView/ 里面的子内容都跑到View区域的外围啦,就是穿透啦啊。 。
2: 播放音乐出现乱播放,比如加速,声音变质等。
3:游戏加载场景出现卡屏的现象。就是loadResArray, 估计completeProgress 没有跑到? 就是资源都加载完了,没有切换场景发生。
微信平台2.1.3都是好的,除了有时也会出现 播放音乐出现乱播放,比如加速,声音变质等。但是2.2频率更高。

你项目有用到插件吗?

你好,BMFont 的问题暂时不好解决,麻烦手动调整一下。这是因为 2.1.2 里面的 BMFont 有 bug,导致文本定位出错了。升级到 2.1.3 之后就会这样。



rc1编辑器界面是这样的 mac os 10.14

能给出更详细的系统配置信息吗?我们这边无法重现这个问题。麻烦用命令行启动 ....app/Contents/MacOS/CocosCreator ,启动后看看是否有什么报错?

你建一个新项目试试?你旧项目用到什么插件了吗?能不能给一个 demo

ipad3 例子工程报错

你好前面有其它报错信息吗?是 example cases 工程?

===== Initializing Editor =====
arguments:

[3816] Load ~/.CocosCreator/settings.json
[3816] checking language setting…
[3816] Language: zh
[3816] Initializing Cocos Creator Dashboard
Load profile failed: local://settings.json
[3816] protocol editor-framework registered
[3816] protocol app registered
[3816] protocol theme registered
[3816] protocol packages registered
[3816] protocol unpack registerred
[3816] protocol disable-commonjs registerred
[3816] Loading packages
[3816] Watching packages
[3816] Run Application
[3816] connected!
Load profile failed: local://settings.json