【已发布】Cocos Creator 3.7 社区公测版

okok 好滴

弱弱问下,lensflare大概多少版本可能上

3.62的直接升3.7,连资源加载都能卡住过不了 :open_mouth:运行一下场景7,800个报错 :innocent:

3.6.3 升级3.7 一个报错都没有,可能是你代码有点不规范把

做的很好,美术和音效咋来的呢,有源码学习吗?

我的2d项目3.6.1版本的,似乎无法直接迁移,直接就报错了
[Preview]Cannot read properties of undefined (reading ‘getProbes’)errorInfo.stack ? '/n TypeError: Cannot read properties of undefined (reading ‘getProbes’)

at ReflectionProbeFlow.render (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:254696:65)

at ForwardPipeline.render (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:40957:32)

at Root.frameMove (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:2768:28)

at Director.tick (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:18756:24)

at Game._updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:19640:22)

at updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:95892:23)’ : ‘’

好奇 升级这个可以提升性能嘛?

2022-12-13T04:10:07.536Z - error: [Preview]Cannot read properties of undefined (reading ‘getProbes’)errorInfo.stack ? ‘/n TypeError: Cannot read properties of undefined (reading ‘getProbes’)
at ReflectionProbeFlow.render (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:254696:65)
at ForwardPipeline.render (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:40957:32)
at Root.frameMove (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:2768:28)
at Director.tick (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:18756:24)
at Game._updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:19640:22)
at updateCallback (http://localhost:7456/scripting/engine/bin/.cache/dev/preview/bundled/index.js:95892:23)’ : ‘’

800多个都是这玩意,都不知道这是干啥的

想问下能支持构建的时候根据构建平台剔除代码么?类似CC_EDITOR或者CC_PREVIEW那样不同环境的代码会被跳过

是不是新加的那个什么探针,影响到以前的2d项目了?怎么关闭呢?

https://docs.cocos.com/creator/manual/zh/scripting/modules/engine.html#构建时常量

1赞

我发现问题了,直接用这个3.7社区版 新建一个2d项目 都跑不动
好像就是各种probe探针的问题


问题这玩意功能裁剪在3D模块那里,去掉也没用,该报错还是报错

可以先在reflection-probe-flow.ts文件里临时处理下

1赞

可以了 谢谢老哥
大家修改这个文件以后,要记得重新编译一下引擎。也可以重新打开项目,cocos就会重新编译

编辑器预览 3.6.3 3.7加载场景第三个场景加载后不显示,但是逻辑执行,左边结构也是显示第三个场景,但是画面还是第二个场景,编辑器也不报错

好的。。。。

已解决摄像机没有改成UI_2D导致的

我们确认一下