Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
4
Found in
2020.1.0a19
2020.1.0b4
2020.2
Issue ID
1234193
Regression
Yes
AsyncGPUReadback.Request never releases unused allocated memory
Steps to reproduce:
1. Open the attached project (case_1234193.zip)
2. Open Task Manager (Ctrl+Shift+Esc on Windows) or Activity Monitor on Mac
3. Enter Play Mode
4. Observe memory usage in Task Manager / Activity Monitor
Expected result: Allocated memory gets automatically freed when it is no longer used
Actual result: Loaded texture is never released, causing a memory leak
Reproduced in: 2020.1.0a19, 2020.1.0b5, 2020.2.0a5
Not reproducible in: 2018.4.20f1, 2019.3.9f1, 2020.1.0a18
Cannot test with: 2017.4.39f1 (AsyncGPUReadback unavailable)
Note:
- The issue is reproducible on Metal, Vulkan, D3D11 and D3D12 Graphics APIs.
- Cannot test on OpenGLCore Graphics API since it does not support asynchronous readback
-
MartinTilo
Jul 24, 2020 12:02
Regarding the occurrence on 2019.4.0f1 and .1f1, it could be the related and similar bug tracked here https://issuetracker.unity3d.com/product/unity/issues/guid/1260624/
-
Menion-Leah
Jul 01, 2020 12:39
It also happens in 2019.4.0f1 and 2019.4.1f1
-
immocat
Apr 20, 2020 22:18
We are having the exactly the same issue. Please fix it soon.
-
Peter77
Apr 20, 2020 07:21
Related forum thread:
https://forum.unity.com/threads/asyncgpureadback-request-memory-issue.871765/
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a10