Search Issue Tracker

Active

Votes

0

Found in

2022.3.61f1

6000.0.47f1

6000.1.0b15

6000.2.0a9

Issue ID

UUM-103201

Regression

No

Allocated memory size of the first loaded AudioClip is much higher when compared to the rest of the AudioClips' memory allocations

-

Reproduction steps:
1. Open the attached “XProject2022_3“ project
2. Open the “Assets/Scenes/SampleScene“ Scene
3. In the Addressables Groups window (Window > Asset Managment > Addressables > Groups), build content (Build > New Build > Default Build Script)
4. Enter Play Mode
5. In the Game view, press “Addrr init” and then “Load Addressables resources” buttons
6. In the Memory Profiler (Window > Analysis > Memory Profiler), capture a snapshot of the Editor
7. Select the captured snapshot and go to “Unity Objects” section
8. In the Objects list, find and expand “AudioClip” Objects list
9. Compare the memory usage of “SFX_F_Enemies09_Death” Object against other AudioClip Objects

Expected result: All the AudioClip Objects' memory usages are similar
Actual result: The “SFX_F_Enemies09_Death” memory usage is 1MB, while the rest of the Objects' memory usage is up to 1KB

Reproducible with: 2022.1.0a16, 2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9
Couldn't test with: 2022.1.0a1 - 2022.1.0a15 (Memory Profiler package errors)

Reproducible on: macOS Sequoia 15.4 (M1 Max), Windows 11
Not reproducible on: No other environments tested

Notes:
- Also reproducible in the built Player, and on iOS, Android devices
- The rest of the AudioClip objects are loaded using the Addressables, but the results are the same if Addressables is not used

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.