Search Issue Tracker

Not Reproducible

Votes

0

Found in

2019.4

2019.4.20f1

Issue ID

1339307

Regression

No

[Profiler][2019.4] ASTC Texture memory cost isn't displayed correctly when profiling some devices

Profiling

-

How to reproduce it:
1. Open the user's attached project "UnityBugASTCMemory.zip"
2. Build and Run it on Android
3. Open a Profiler window
4. Select to profile an Android device
5. Click on the Memory section and switch the module to "Detailed"
6. Press the "Take Sample AndroidPlayer" button
7. Find an Assets/Texture2D/bridle_01_01_06_tex and check the memory value

Expected result: Profiler displays that bridle_01_01_06_tex takes up 1.3MB
Actual result: Profiler displays that bridle_01_01_06_tex takes up 5.3 MB

Reproducible with: 2019.4.28f1
Not reproducible with: 2020.3.12f1, 2021.1.12f1, 2021.2.0b1, 2022.2.0a5
Could not test with: 2018.4.36f1 - ASTC_4x4 is not implemented

Reproducible with:
VLNQA00013 - Galaxy S6 Edge+ (SM-G928F), OS: 7.0.0, CPU: Exynos 7 Octa (7420), GPU: Mali-T760

Not reproducible with:
VLNQA00122, Samsung Galaxy S9 (SM-G960F), Android 10, CPU: Snapdragon 855 SM8150, GPU: Mali-G72
VLNQA00331, Huawei P20 lite (ANE-LX1), Android 9, CPU: HiSilicon Kirin 659, GPU: Mali-T830
VLNQA00321, Xiaomi MI 9 (MI 9), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00038, Htc Desire 510 (HTC Desire 510), Android 4.4.3, CPU: Snapdragon 410 MSM8916, GPU: Adreno (TM) 306

Could not test with:
VLNQA00042, Lge LG G3 (LG-D855), Android 5, CPU: Snapdragon 801 MSM8974AC, GPU: Adreno (TM) 330 - ASTC is not supported
VLNQA00285, Samsung Galaxy J4 Core (SM-J410F), Android 8.1.0, CPU: Snapdragon 425 MSM8917, GPU: Adreno (TM) 308 - ASTC is not supported

Notes:
- When the device doesn't support ASTC, Profiler displays that the bridle_01_01_06_tex file's size is 21.3MB

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.