Search Issue Tracker
Active
Votes
7
Found in
2019.4.7f1
2020.1.1f1
2020.2.0a20
Issue ID
1267918
Regression
No
[Memory Profiling] Texture Importer memory size does not match memory size shown in the profiler
Different sizes are shown for ASTC type textures between the Texture Importer Preview window and the Memory Profiler window
To reproduce:
1. Download attached "TextureTest.zip" project in Unity
2. Open "SampleScene" scene
3. Select "wall" Texture
4. In the Texture Preview Window notice the Size of the Image - it should be around 200 - 300 KB
5. Open Profiler and select Memory tab
6. Press "Take Sample Playmode" button
7. Inspect "Assets > Texture2D > wall" Memory Size
Expected results: The Size shown in the Texture Importer Preview window is similar to the Memory Profiler window
Actual results: The Size shown in the Memory Profiler window is almost twice as large as the Texture Importer Preview window
Notes:
- Checked only on macOS cause I don't have Windows machine with me
Reproduced on 2019.4.7f1, Unity 2020.1.1.f1 and 2020.2.0a20
Not reproduced on 2019.4.6, Unity 2020.1.0f1
Regression on Unity 2020.1.1.f1
Note:
This is partially "By Design". The Inspector Preview currently shows the file size on disk.
This is unclear and misleading and some texture compression sizes are just wrongly calculated right now, which is the bug part.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Peter77
Jun 09, 2021 15:15
Related forum thread:
https://forum.unity.com/threads/case-1339307-profiler-astc-texture-memory-cost-not-correct.1116484/