Search Issue Tracker

Fixed in 2022.2.X

Duplicate in 2020.3.X, 2021.3.X

Votes

0

Found in

2019.4

2020.3

2020.3.25f1

2021.2

2022.1

2022.2

Issue ID

1401270

Regression

No

UnityWebRequest interrupted before completion causes memory leak

WebRequest

-

Reproduction steps:
1. Open user-submitted project
2. Open the "TestScene" scene in the Assets folder
3. Open Profiler by navigating to Windows -> Analysis -> Profiler
4. Turn on Memory Profiler Module by navigating to Profiler Modules -> Memory
5. Enter Play Mode
6. Press Take Sample Playmode in the Profiler
7. Observe the Memory Used by Not saved -> Texture 2D
8. Wait for 5s and repeat steps 6 and 7

Expected result: The memory used by Not Saved -> Texture 2D didn't increase
Actual result: The memory used by Not Saved -> Texture 2D has increased

Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.13f1, 2022.1.0b9, 2022.2.0a5

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a10

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.