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

【问题】在不同Packages对同一个目录进行收集,如何解决多次收集的问题 #393

Open
SiCoYu opened this issue Nov 13, 2024 · 1 comment
Labels
question Further information is requested

Comments

@SiCoYu
Copy link

SiCoYu commented Nov 13, 2024

你好!

如题。举个例子,

新建Package-A,增加分组ab_art,新建收集管线prefab,设置收集目录Assets/Art/Common/Prefab
新建Package-B,增加分组ab_programmer,新建收集管线prefab,设置收集目录Assets/Art/Common/Prefab

执行打包后,最后生成了2个以目录+包名的bundle,但是内容都是一样的。

请问,这时使用规范问题,还是功能问题?如何避免或者检测这种情况的出现?

@gmhevinci gmhevinci added the question Further information is requested label Dec 7, 2024
@gmhevinci
Copy link
Collaborator

目前多package之间 公用的资源是会存在冗余。所以在设计之初就尽量避免。如果项目不是很复杂,建议通过Tag来划分,保持一个package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants