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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
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.