Search Issue Tracker

By Design

Votes

0

Found in

2019.3.13f1

2019.4

2020.1

2020.2

Issue ID

1248565

Regression

No

[Asset Bundles] AssetBundle with a Sprite Atlas Variant has a dependency for an AssetBundle which has the Master Sprite Atlas

Asset Bundles

-

Repro steps:
1. Open attached project
2. Main Menu -> Android -> Build Bundles
3. Go to Project folder -> Asset Bundles

Actual: The master SpriteAtlas is added as a dependency in the Asset Bundle

Reproducible with: 2019.4.4f1, 2020.1.0b16, 2020.2.0a18

  1. Response avatar

    Resolution Note (2020.2.X):

    To have a proper usage of Sprite Atlas Variants / Dynamic Loading of Asset Bundles :

    1) Ensure "Include in Build" is disabled for Master Atlases. If checked it means they will always be referenced by Sprites.
    2) Use Dynamic Late binding to load the required Atlases.

    It seems all the Master Atlases have "Include in Build" enabled. Ensure they are disabled and build the Variants. This should fix the issue.

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.