Search Issue Tracker

Active

Votes

0

Found in

2020.3.46f1

2021.3.20f1

2022.2.9f1

2023.1.0b5

2023.2.0a5

Issue ID

UUM-30723

Regression

No

Original textures packed in Sprite Atlases are included when building Asset Bundle

--

-

Reproduction steps:
1. Open the attached project "TestBuildPipelines"
2. Build the Legacy and SRP Asset Bundles by selecting "LegacyBuildAssetBundles" and "SBPBuildAssetBundles" located in the Menu Bar under "UnitySupport"
3. Observe that the "LegacyBuildAssetBundles" and "SBPBuildAssetBundles" folders are present in the “/Assets/Unity Support/(Current platform)” folder
4. Use the UnityDataTool [https://github.com/Unity-Technologies/UnityDataTools|https://github.com/Unity-Technologies/UnityDataTools] to create a database for SBPAssetBundles
5. Use a database browser and observe the database of SBPAssetBundles

Expected result: No textures highlighted in BundlesDatabaseCompare.jpg are seen
Actual result: Original textures that should not be packed in SBP are seen

Reproducible with: 2020.3.46f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b5, 2023.2.0a5

Reproducible on: Windows 10 Enterprise 21H2

Notes:

* Scriptable Build Pipeline is including original textures packed in Sprite Atlases. The legacy Build Pipeline does not include the original textures 2D for the asset bundle builds. It increases the asset bundle size

* Check the attached image that shows the comparison (BundlesDatabaseCompare.jpg). The image is highlighting the original textures that should not be packed in SBP

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.