Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.19.4

Issue ID

ADDR-2362

Regression

No

[Addressable] Sprite Atlas are unpacked after running Fix Analyse Rule

Package: Build Pipeline - Addressables

-

Reproduction steps:
1. Open the user's attached project "AddressablesTesting.zip"
2. Build Addressables by opening an Addressables Groups window and clicking Build > New Build > Default Build Script
3. Clean the Addressable build
4. Open Addressables Analyse window
5. Click to Fix Analyze Rule
6. Check Analyze Rules > Fixable Rules > Check Duplicate Bundle Dependencies > Remote > remote_assets_image_1.bundle

Expected result: It doesn't contain any slides
Actual result: It contains "Assets/Sprites/Olympics/Introslides1.png" file

Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12

  1. Resolution Note:

    Duplicate dependencies are being flagged as intended. None of the listed assets are packed in a sprite atlas.

    (1) introslides1.png and introslides2.png are dependencies of multiple bundles.
    (a) remote_assets_image_combo.bundle contains a prefab referencing those assets. The prefab has a root gameobject with an Image component referencing introslides1.png, and a child gameobject with an Image component referencing introslides2.png.
    (b) remote_assets_image_1.bundle contains a prefab with an Image component referencing introslides1.png.
    (c) remote_assets_image_2.bundle contains a prefab with an Image component referencing introslides2.png

    (2) eq_slide_3.png and eq_slide_4.png are dependencies of multiple bundles.
    (a) packedassets1_assets_all.bundle contains a ScriptableObject called ImageData.asset that references to eq_slide_3.png and eq_slide_4.png.
    (b) remote2_assets_all.bundle contains a prefab with an Image component referencing eq_slide_3.png
    (c) packedassets_assets_all.bundle contains a prefab with an Image component referencing eq_slide_4.png.

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.