Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当一个bundle中包含 "排除" 设置时, 不管这个bundle内容是否改变. 每次build后, 都会生成新的config.json #17041

Open
finscn opened this issue May 24, 2024 · 5 comments
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@finscn
Copy link
Contributor

finscn commented May 24, 2024

Cocos Creator version

3.8.3

System information

all

Issue description

当一个bundle中包含 "排除" 设置时, 不管这个bundle内容是否改变. 每次build后, 都会生成新的config.json.
但是config.json中的内容并没有变更.
编译时 开启了MD5缓存模式.
bundle配置如下
image

多次编译结果如下:
image

Relevant error log output

No response

Steps to reproduce

如上所述

Minimal reproduction project

No response

@finscn finscn added Bug Needs Triage Needs to be assigned by the team labels May 24, 2024
@yanOO1497
Copy link
Contributor

yanOO1497 commented May 27, 2024

这是构建什么平台遇到的问题?没有复现这个问题,连续构建两次的 MD5 变化都有测试到的,而且正常都是有清空项目的没有,不会有多个 config.json 需要更详细的复现信息,比如 demo 或者构建日志、构建配置看看。

@finscn
Copy link
Contributor Author

finscn commented May 28, 2024

这是构建什么平台遇到的问题?没有复现这个问题,连续构建两次的 MD5 变化都有测试到的,而且正常都是有清空项目的没有,不会有多个 config.json 需要更详细的复现信息,比如 demo 或者构建日志、构建配置看看。

mac下, 构建微信小游戏. 该bundle的完整配置如下:

image

该 bundle下 , 所有的 文件 其实都是 test开头, 所以经过排除后, 实际上这就是一个空bundle.
image

@yanOO1497
Copy link
Contributor

依然没有复现,不管是多个 config 还是 md5 一直变化的问题都没有,如果还需要跟踪,麻烦上传一个可复现的 demo 。

@shishu123cn
Copy link

包含也是有问题的,我也遇到了,3.8.2 版本, 只要是开了MD5缓存选项就会每次构建内容相同但 文件后缀md5不同的config文件。

@shishu123cn
Copy link

补充一下,只有在 只构建Bundle 的情况下会出现上述问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

3 participants