Search Issue Tracker
By Design
Votes
0
Found in
5.6.2p4
Issue ID
952213
Regression
No
Downloading data without internet connection via UnityWebRequest using preallocated buffers allocates GC memory
To reproduce:
1. Build project attached by the user with the main.scene as a starting scene.
2. Run with Xcode debugging make sure that device has no internet connection(wi-fi and cellular data is off)
3. Go to debug navigator view in Xcode
4. Press Start downloads with preallocated buffer button a few times and observe the memory usage in Xcode
5. Press GC.Collect button and observe memory usage reaction to GC.Collect calls
Expected: Memory shouldn't be allocated on every request (after creating preallocated buffers and expanding heap).
Reproduced with: 5.6.2p4, 2017.1.1p3, 2017.2.0f1, 2017.3.0b1
Device: iPhone 5s iOS 9.3.3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment