【已发布】Cocos Creator 3.8 社区公测贴

默认的起始位置坐标也没法改是吧,我上边说的都没人看 :rofl:,只能在外边加个输入框背景图解决,没法用EditBox组件自带的背景图,用了就跟图片一样,文字超出位置
image

Hi there, I’ve been successfully accessed the link and downloaded the application file in varies time and devices, so I believe that you are definitely able to get access for the download link address. If it still does not work in prospect, maybe you can try it later.

safeArea能取消上下,左右的对齐吗?
这个对齐了,竖屏下巴刘海留老大一个空隙。
不能hock只能定制引擎取消,难受的很!!!

目前的设计里面,editbox 会根据自己的参数去更改 placeholder 里面的选项,包括 placeholder 的 lineheight 和 enableWrapText. 这部分我们再重新考虑下设计。

Thank for your attention.
I was downloaded before but now it’s cannot.(I don’t know why :slight_smile: )
I was try to download with other internet and other computer.
But it’s not working :slight_smile:
By the way now i’m back to my office with the downloaded version 0621.

richtext char模式排版异常,直接偏移到底部了

之前理解错问题了,这个操作是设计如此,canvas上勾选的align模式是on_window_size;所以进入场景时,会根据当前屏幕计算Ortho Height ;如果你希望它是固定的值,可以切换align模式。

好的,谢谢
去掉了自动计算 Camera
这个值不会变了

为什么官方的角色控制器的是否在地面的判定会一直true false 切换,这样的话这个能用吗?
image

救命呀,谁能告诉我这个地面判断怎么用,而且这个control的组件还不能检测碰撞结束,只能检测撞击了

落地后是否还在施加重力速度?

同样的bug,前几天的那个版本还不像这样。

我看代码落地后是置零了,这个demo是官方的

感谢,这个问题之前版本也存在,我们争取在 3.8.1 版本修复

反馈一个不是那么重要的bug
修改插件的代码后,刷新无效,必须关闭该插件再打开【不用重启编辑器】

1赞

问题1: 用3.8社区版【072014】开发过程中大概率出现http://localhost:7456/无法访问,且需重启编辑器
详情:

Cocos Creator version

3.8社区版【072014】

System information

win10

Issue description

用3.8社区版【072014】开发过程中chrome浏览器大概率出现 http://localhost:7456/ 无法访问,且需重启cocos编辑器才能继续使用,非常影响开发,大概每隔20分钟出现一次,目测不只是chrome浏览器,应该是你们监听端口7456的代码逻辑出现问题了,崩溃那种,必须重启。影响程度:严重,之前正常的版本:3.6.3

Relevant error log output

Steps to reproduce

请自行测试;一般是多脚本情况下,从vscode返回cocos编辑器后,cocos编辑器可能需要花费6s来进行编译,,此时在未编译完成前快速让ccocos编辑器最小化,接着让cocos编辑器窗口继续获得焦点,紧跟着就会出现这种bug,甚至可能编译失败,或者无穷在等待脚本编译(无法编译完成,右下角一直显示编译中。。。),如果按照这个方式尝试20+次后无法复现,可能是你们的脚本不够多,代码不够多,编译时间过快,总之,只要你们某个人花费半天的时间来进行正常代码开发(代码复杂度大点,不要太小),则一定会遇到。

Minimal reproduction project

----------------------------------------------------------------------------------------------------------------------------------

问题2: 3.8社区版【072014】发布构建安卓失败
详情:

Cocos Creator version

3.8社区版【072014】

System information

win10

Issue description

构建失败,日志如下:(无论安装jdk8还是11都报错),new demo project,之前正常的版本:3.6.3

Relevant error log output

jdk8报错如下:

2023-7-22 14:47:06-debug: // ---- builder:run-build-stage-make ----
2023-7-22 14:47:06-debug: Use build file cocos.compile.config.json in root(C:\Users\admin\Desktop\cocosPro\NewProject_39\build\android)
2023-7-22 14:47:06-log: [task:make]: native:(make) start..., 10%
2023-7-22 14:47:06-debug: // ---- build task native:make ----
2023-7-22 14:47:06-log: [task:make]: init options success, 10%
2023-7-22 14:47:06-log: [runCmd]: gradlew.bat NewProject_39:assembleRelease
2023-7-22 14:47:06-debug: refresh db internal success
2023-7-22 14:47:06-debug: refresh db assets success
2023-7-22 14:47:06-debug: Run asset db hook engine-extends:afterRefresh ...
2023-7-22 14:47:06-debug: Run asset db hook engine-extends:afterRefresh success!
2023-7-22 14:47:06-debug: asset-db:refresh-all-database (57ms)
2023-7-22 14:47:06-debug: asset-db:worker-effect-data-processing (2ms)
2023-7-22 14:47:06-debug: asset-db-hook-engine-extends-afterRefresh (3ms)
2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] 

FAILURE: 

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] Build failed with an exception.



* What went wrong:

A problem occurred configuring root project 'NewProject_39'.

> Could not resolve all files for configuration ':classpath'.

   > Could not resolve com.android.tools.build:gradle:8.0.2.

     Required by:

         project :

      > 

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] No matching variant of com.android.tools.build:gradle:8.0.2 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.0.2' but:



2023-7-22 14:47:07-log: [runCmd gradlew.bat - error]           - Variant 'apiElements' capability com.android.tools.build:gradle:8.0.2 declares a library, packaged as a jar, and its dependencies declared externally:

              - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed 

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] a component for use during runtime, compatible with Java 8

              - Other compatible attribute:

                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')

          - Variant 'javadocElements' capability com.android.tools.build:gradle:8.0.2 declares 

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] a component for use during runtime, and its dependencies declared externally:

              - Incompatible because this component declares documentation and the consumer needed a library

              - Other compatible attributes:

                  - Doesn't say anything about its target Java version (required compatibility with Java 8)

                  - Doesn't say anything about its elements (required them packaged as a jar)



2023-7-22 14:47:07-log: [runCmd gradlew.bat - error]                   - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')

          - Variant 'runtimeElements' capability com.android.tools.build:gradle:8.0.2 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:

              - Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8

              - Other compatible attribute:

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] 

                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')

          - Variant 'sourcesElements' capability com.android.tools.build:gradle:8.0.2 declares a component for use during runtime, and its dependencies declared externally:

              - Incompatible because this component declares documentation and the consumer needed a library

              - Other compatible attributes:

                  - Doesn't say anything about its target Java version (required compatibility with Java 8)

                  - Doesn't say anything about 

2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] its elements (required them packaged as a jar)

                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')



* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.



2023-7-22 14:47:07-log: [runCmd gradlew.bat - error] > Run with --scan to get full insights.



* Get more help at https://help.gradle.org



BUILD FAILED in 821ms



2023-7-22 14:47:08-log: [task:make]: 构建插件 native 的钩子函数 make 执行失败,请检查插件的代码逻辑~, 23.333333333333332%
2023-7-22 14:47:08-log: [task:make]: failed to exec gradlew.bat NewProject_39:assembleRelease, 36.66666666666667%
2023-7-22 14:47:08-warn: failed to exec gradlew.bat NewProject_39:assembleRelease
2023-7-22 14:47:08-debug: // ---- builder:run-build-stage-make ---- (1533ms)
2023-7-22 14:47:08-debug: [Build Memory track]: builder:build-stage-total make start:247.53MB, end 248.02MB, increase: 505.19KB
2023-7-22 14:47:08-error: make package C:\Users\admin\Desktop\cocosPro\NewProject_39\build\android failed!
2023-7-22 14:47:08-log: [task:make]: failed!


jdk11报错如下:

Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

android {
    namespace 'com.example.namespace'
}

If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

Steps to reproduce

Minimal reproduction project

链接:迅雷云盘
复制这段内容后打开手机迅雷App,查看更方便

issue 都打不开

3.8.0 Animation Graph 不支持 Animation Clip 了?

请用加速器打开,github被墙;现在比较蛋疼的是无法发布构建安卓,头大,麻烦给个修复方式

有加速器也打不开
:crazy_face:

1赞