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依赖问题 #390

Open
sworday opened this issue Nov 7, 2024 · 1 comment
Open

不合理的Bundle依赖问题 #390

sworday opened this issue Nov 7, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sworday
Copy link

sworday commented Nov 7, 2024

  1. 项目里使用的一个特效A,引用了贴图x1,材质球x1,Shaderx1 ,由于贴图,材质球,Shader都属于不同的文件夹,这个特效最多依赖了3个Bundle,但实际打出来的包里,显示这个特效引用了超过3个以上的bundle

image

  1. 我的理解是这里依赖关系是Bundle之间的依赖,不是资源对Bundle的依赖

image

是我的理解的有问题吗? 还是就是这么设计的?

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

YooAsset有2个大版本,分别是1.5x和2.2x版本。
1.5x版本里构建依赖关系是根据纯资源之间的依赖关系。
2.2x版本里构建依赖关系是根据AB之间的依赖关系。
俩种方式各有利弊,还是推荐2.2x版本。

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