Search Issue Tracker

In Progress

Unknown (hidden) 1.18.X, 1.19.X

In Progress in 1.20.X

Votes

2

Found in [Package]

1.18.16

1.19.19

1.20.5

Issue ID

ADDR-2945

Regression

No

Raw Texture of a Sprite which is in a SpriteAtlas is included in AssetBundle when Non-Recursive Dependency Calculation enabled

Package: Addressables

-

Reproduction steps:

# Open the attached project
# Open the Addressables Groups window (Window > Asset Management
# Build the Asset Bundle (Build > New Build > Default Build Script)
# Check the size of the built Asset Bundle in the “Project location”\Library\com.unity.addressables\aa\Windows\StandaloneWindows64 folder
# Select the AddressableAssetSettings.asset Asset located in the Assets/AddressableAssetsData folder in the Project window
# Enable Non-Recursive Dependency Calculation located under Build category in the Inspector window
# Open the Addressables Groups window and build the Asset Bundle (Build > New Build > Default Build Script)
# Check the size of the built Asset Bundle in the “Project location”\Library\com.unity.addressables\aa\Windows\StandaloneWindows64 folder

Expected result: The Asset Bundle built with Non-Recursive Dependency Calculation enabled is smaller or equal in size than the Asset Bundle without it
Actual result: The Asset Bundle built with Non-Recursive Dependency Calculation enabled is 2 times bigger in size than the Asset Bundle without it

Reproducible with: 1.18.16, 1.19.19, 1.20.5 (2020.3.39f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a9)

Reproducible on: Windows 10 (21H2)

Comments (2)

  1. watsonsong

    Dec 15, 2022 15:06

    We a prepare to publish our game using SBP. And met this issue that sprite texture will be duplicated in asset bundle.
    When will it be fix?

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.