Unity Issue Tracker - "RenderTextures" data not being included in "Graphics" memory usage in the Memory Profiler
Closed
UUM-21614
"RenderTextures" data not being included in "Graphics" memory usage in the Memory Profiler
Unity: Vulkan
Linux
Won't Fix
2023.1.X
2022.2.X
2021.3.X
Closing, as this Unity version will no longer be getting updates.
Closing, as this Unity version will no longer be getting updates.
How to reproduce:
1. Open the user-attached project (RenderTextures_1415558_modified (1).zip)
2. Build and Run the Linux Player with "Development Build" enabled
3. In the Editor go to Window > Analysis > Memory Profiler
4. In the top left of the Memory Profiler window open the Editor dropdown and connect the profiler to 127.0.0.1
5. Take a snapshot in the Memory Profiler
6. Wait 10 seconds and take a snapshot of the Player again
7. Compare the two sets of data noting the "Graphics" and "RenderTexture" memory usage
Expected result: the "RenderTexture" memory usage increased along with the "Graphics" memory usage
Actual result: only the "RenderTexture" memory usage increased but not the "Graphics" memory usage
Reproducible with: 2021.3.16f1, 2022.2.2f1, 2023.1.0a22
Could not test with: 2020.3.43f1 (Memory Profiler not available)
Reproducible on: Linux Player
Not reproducible on: Windows Player
Note: When the player starts its best to take the first screenshot as fast as possible else there might not be any difference in the "RenderTexture" memory usage visible between the snapshots
Prioritise and Follow this issue
Have a workaround or additional info about this issue?