tuyoogame / YooAsset

unity3d resources management system
https://www.yooasset.com/
Apache License 2.0
2.25k stars 449 forks source link

SBP方式打包SpriteAtlas,精灵散图的Texture会被打入bundle #288

Closed gmoonwalk closed 2 months ago

gmoonwalk commented 2 months ago

根据官方文档:图集打包的零冗余解决方案 进行设置,如下图: 企业微信截图_17139657877209 图集和散图通过PackGroup的方式打入default group.bundle并且散图使用StaticAssetCollector方式收集。打包完成后,使用AssetStudio查看default group.bundle,发现其包含了Sprite和Texture2D以及Atlas所有内容。这些散图的Texture对我是无用的。

BuildIn管线下似乎就没有这问题。

在SBP管线下,有办法只包含SpriteAtlas、图集Texture、Sprite信息吗?

gmhevinci commented 2 months ago

SBP库的1.21.22版本目前还有BUG,SBP库可以升级到2.1.3版本。

gmoonwalk commented 2 months ago

SBP库的1.21.22版本目前还有BUG,SBP库可以升级到2.1.3版本。

感谢,经你提醒我才发现原来1.21.22不是最新版本....2.1.3需要指定版本号安装。升级以后没有冗余Texture了。