Search Issue Tracker

Won't Fix

Votes

1

Found in

2018.3

2018.3.8f1

2019.1.0a1

2019.2.0a1

Issue ID

1136182

Regression

No

System.Net.WebRequest leaks WebRequest Objects

Networking

-

How to reproduce:
1. Open the attached project "HttpWebRequestLeakTest"
2. Enter Play Mode
3. Open Memory Profiler and take a snapshot(Capture Player)
4. Search Type for "Test.Request"
----------------------------------------
Observe 5 retained objects

Reproduced with: 2018.3.0f2, 2019.1.0b6, 2019.2.0a7
Unable to check earlier versions as Memory Profiler was released in 2018.3.0f2 and regular Profiler does not show such activity.

Note: Reducing the number of requests in Test.RequestTest appears to reduce the retained object count.

  1. Resolution Note:

    Unfortunately is very difficult to investigate so probably won't be getting fixed anytime soon. Additionally in upstream mono large swaths of related code has been refactored so this may be fixed once we upgrade to a later version of mono.

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.