Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X

Votes

0

Found in

2021.3.33f1

2022.3.14f1

2023.2.2f1

2023.3.0a17

Issue ID

UUM-58300

Regression

No

AssetReferenceAtlasedSprite creates a copy of the Sprite during Addressables.LoadAssetAsync<TObject> which does not release when Addressables.Release is used

--

-

Reproduction steps:
1. Open the attached "ReproProj.zip" project
2. Open the "Assets/Scenes/SampleScene" scene
3. Open the Addressables window via "Window" -> "Asset Management" -> "Addressables" -> "Groups"
4. Set the Play Mode Script to "Use Existing Build (your Platform)"
5. Initiate an Addressable build by selecting "Build" -> "New Build" -> "DefaultBuildScript"
6. Close the Addressables Groups window and press Play
7. Observe the Console

Expected results: Sprite count is 1 after every iteration
Actual results: Sprite count is increasing after every iteration

Reproducible with: 2021.3.33f1, 2022.3.14f1, 2023.2.2f1, 2023.3.0a17

Reproducible on: Windows 11 Pro, macOS (Intel) - User reported
Not reproducible on: No other environments tested

Note: Reproducible in Standalone Player

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.