Unity Issue Tracker - GameObject with AsyncGPUReadback class in the script leaks memory when the Editor is running in the background
Fixed
UUM-19169
GameObject with AsyncGPUReadback class in the script leaks memory when the Editor is running in the background
Unity: Graphics Device Features
Fixed
2023.2.X
2022.2.X
2021.3.X
Prevent AsyncGPUReadback requests accumulation when Editor is inactive.
Prevent AsyncGPUReadback requests accumulation when Editor is inactive.
Prevent AsyncGPUReadback requests accumulation when Editor is inactive.
How to reproduce:
1. Open the “GPUReadbackLeak.zip” project from Google Drive
2. Turn on “Task Manager” on Windows
3. In the Hierarchy select the “Test” object
4. Enable “GPUReadbackLeakMVP” in the Inspector
5. Focus on another program window
6. Observe the “Editor” in “Task Manager”
Expected result: Memory usage should stay consistent.
Actual result: Memory usage increases by around 200mb/s.
Reproducible with: 2021.3.11f1, 2022.2.0b9
Reproducible on: Windows 10
Note: Could not reproduce the issue.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?