Search Issue Tracker
By Design
Votes
2
Found in
2018.4
2019.4.7f1
2020.2
Issue ID
1272020
Regression
No
[iOS] UnityWebRequest POST request does not close and results in memory leak
How to reproduce:
1. Open the attached 'SamplePostRequestBR.zip' project
2. Build for iOS and open the Xcode project
3. Deploy Xcode project to iOS device
4. Press 'Start Requests' button
5. Inspect memory growth in Debug navigator
Expected result: Memory increases and causes memory leak
Actual result: Memory remains the same
Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.3f1, 2020.2.0a21
Reproducible with:
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPad 9.7 6th gen (iOS 12.1)
iPad Air 2 (iOS 13)
iPhone 7 (iOS 13)
iPhone 5s (iOS 12)
Notes:
- Most of the times it happens in the first attempt, but if after 10 minutes you don't see the memory growing, stop everything, clean the Unity project (remove Xcode project and Library folder) and start over, this shouldn't take more than a couple of attempts
- Screenshots of the issue are attached in Edit
-
stevenkelly619
Aug 25, 2020 09:39
https://community.cbr.com/member.php?133474-naijarita
https://comunidadbilingue.educa2.madrid.org/alojamiento-y-trabajo/-/message_boards/message/30319102
https://en.wikipedia.org/wiki/Da_Grin#External_links
https://forums.kali.org/member.php?176086-ritanaija
https://social.msdn.microsoft.com/Profile/NaijaRita
https://edex.adobe.com/member/9_BWsD_th
https://medium.com/@chukwuemekanwaobi
https://kiingemmy.kinja.com/download-mp3-into-a-disk-1844735394?rev=1597492780683
https://t.me/iv?url=https://naijarita.com/
https://themeforest.net/user/naijarita
http://flgclassifieds.cce.cornell.edu/author/naijarita/
https://www.giantbomb.com/profile/emmybxt/about-me/
https://www.minds.com/naijarita/
https://www.openstreetmap.org/user/onemicnaija
https://www.producthunt.com/@emeka_nwaobi
https://www.codecademy.com/profiles/micro9726262253
https://www.indiegogo.com/individuals/24431533
https://www.gamespot.com/profile/afribaze/blog/best-nigerian-trending-music-2020-playlist/26129304/
https://comicvine.gamespot.com/profile/guruboss/blog/best-nigerian-trending-music-2020-playlist/152334/
https://www.giantbomb.com/profile/emmybxt/blog/best-nigerian-trending-music-2020-playlist/241674/
https://comicvine.gamespot.com/profile/guruboss/about-me/
https://active.popsugar.com/@naijarita/profile
https://www.change.org/p/sony-music-spain-it-is-advantageous-to-store-mp3-music?recruiter=1141533972&recruited_by_id=db3a6a80-de75-11ea-a373-5b4285bfb658&utm_source=share_petition&utm_medium=copylink&utm_campaign=petition_dashboard
http://images.google.com/url?sa=t&source=web&rct=j&url=https://naijarita.com/#music-otw&ved=2ahUKEwjB9-CXsa7mAhWu0KYKHctaDTY4yAEQFjAHegQIWxAB
http://maps.google.be/url?sa=t&source=web&rct=j&url=https%3A%2F%2Fnaijarita%2Ecom%2F%23otw&ved=2ahUKEwjS5MbQv67mAhUh4aYKHQRjBpM4yAEQFjBjegQIBxAB
https://www.recode.net/users/naijarita
http://www.google.be/url?sa=t&source=web&rct=j&url=https%3A%2F%2Fnaijarita%2Ecom%2F%23otw&ved=2ahUKEwjS5MbQv67mAhUh4aYKHQRjBpM4yAEQFjBjegQIBxAB
https://hubpages.com/@naijarita
https://murmur.csail.mit.edu/thread?group_name=Discussion&tid=40971
https://www.theverge.com/users/naijarita
https://www.patreon.com/naijarita
https://www.theverge.com/users/naijarita/posts#activity
https://www.theverge.com/users/naijarita/comments#activity
https://www.theverge.com/users/naijarita/comments#activity
https://www.theverge.com/users/naijarita/responses#activity
https://www.instructables.com/member/naijarita/?cb=1597491431
https://www.vox.com/users/naijarita
https://www.thestreet.com/phildavis/stocks-options/the-hemp-boca-portfolio
http://site-1916122-1644-7757.mystrikingly.com/
http://guia.clarin.com/naijarita/usuario
http://maps.google.co.id/url?sa=t&source=web&rct=j&url=https://naijarita.com/music/artiste/#music-otw=2ahUKEwia1sW3v67mAhWBepoKHZ_6B3w4kAMQtwIwGnoECDoQAQ
http://images.google.co.id/url?sa=t&source=web&rct=j&url=https://naijarita.com/music/artistes/fireboy-dml/#music-otw&ved=2ahUKEwjhp6ylta7mAhVNyKYKHVE7Ch04yAEQFjAJegQIIBAB
http://scienceday.bio.upenn.edu/feedback/participant-feedback
https://www.discogs.com/user/naijarita
http://www.astro.wisc.edu/?URL=https://naijarita.com
http://www.astro.wisc.edu/?URL=https://naijarita.com/video/
https://sketchfab.com/naijarita
https://cunymathblog.commons.gc.cuny.edu/2018/11/29/cuny-students-paid-tutors-needed-for-spring-semester-apply-by-december-16/#comment-144514
https://speakerdeck.com/emmybxt
https://tinyurl.com/y2quoz57
https://preview.tinyurl.com/y2quoz57
https://www.redbubble.com/people/naijarita/
http://www.wikidot.com/user:info/naijarita
https://contacts.google.com/url?sa=t&source=web&rct=j&url=https://naijarita.com/video/download-mp4/&ved=2ahUKEwilr56Qvq7mAhXFyKYKHXWmDLoQFjAoegQIVxAB
http://search.bt.com/result?p=naijarita.com
http://www.kiva.org/lender/naijarita
http://www.mobypicture.com/user/naijarita
https://openclassrooms.com/en/membres/naijarita-rita
https://my.desktopnexus.com/mikkelulrich/
https://communities.bentley.com/members/99c80639_2d00_ab2b_2d00_4c2e_2d00_b775_2d00_81cae81703a9
https://community.asme.org/members/emekanwaobi132/default.aspx
https://genius.com/Jesse-knowsall-love-you-right-back-lyrics
https://www.si.com/college/michiganstate/msu-football-msusports/in-this-edition-of-answering-your-michigan-state-spartan-football-emails-and-questions-we-take-an-optimistic-look-as-the-spartans-begin-the-rebuilding-process-under-mel-tucker
http://naijarita.idea.informer.com/
http://hitmyyy.podbean.com/
https://hitmyyy.podbean.com/e/naijarita-go-rank-pah/
https://telegra.ph/NaijaRita-dey-for-you-08-15
https://bodyspace.bodybuilding.com/about-me/emmybxt
http://5dc1911709aaf.site123.me/
https://www.broadwayworld.com/board/newcsd.cfm?ID=1753616
https://mix.com/kiingemmy
https://www.bing.com/news/apiclick.aspx?ref=FexRss&aid=&tid=9BB77FDA801248A5AD23FDBDD5922800&url=https://naijarita.com
https://guruboss.fandom.com/wiki/Tosyn_Bucknor
http://slashdot.org/story/05/12/04/0527242/study-finds-regulation-good-for-telecom-customers
https://tech.slashdot.org/story/06/01/10/0214248/a-look-at-google-drm
http://www.nairaland.com/9365/g14-should-chelsea-allowed
http://www.nairaland.com/927811/president-9ja-how-u-treat
http://www.nairaland.com/6991/sexy-charles-soludo-plans-recapitalize
http://notjustok.com/song/fireboy-dml-drops-new-single-tattoo-with-a-visual-treatment/
http://www.nigeriagalleria.com/directory/listing/naijarita-news/
https://www.nigeriagalleria.com/Newspapers_and_Magazines/Online_News_Portals.html -
Ruslank100
Aug 22, 2020 11:08
There should be a way to report these bots
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
- [VFX Graph] Sticky Note Font size changes when Editing text
- StaticLightingSky is missing an Attached Script in the URP VFX Learning Template Scene
- [URP][OpenGL] "Trying to load color backbuffer into a complex RenderPass setup, results undefined" error is thrown when using Decal Projector
- Top and bottom color channels are swapped when lighting an object with Six Way Shader Graph in URP
- "Problem detected while importing the Prefab file" errors on Learning Templates import
Resolution Note (2020.2.X):
Only a superficial investigation was done, please reopen in case the issue can be reproduced after fixing the notes below:
- After a quick search in code I don't see UnityWebRequest objects being disposed nor placed inside using block. This means that the project relies on Garbage Collector entirely, which would explain the intermittence of the issue. Given that majority of memory used by UWR is native memory, the GC might not kick in (since it's still plenty of free managed memory).
- A repro project uses awaiters and async tasks, overcomplicating the things. Could a simple project that uses UWR in coroutines and proper disposes be made? If so, check the memory consumption in it, reopen if a leak still can be observed.