Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2019.4.22f1
2020.3
2021.1
2021.2
Issue ID
1338754
Regression
No
[UWP] Memory leak when creating BitmapDecoders using MemoryStreams
How to reproduce:
1. Open the attached "Il2CppMemLeakSampleDesktop.zip" project
2. Build the "SampleScene" Scene to UWP
3. Open Visual Studio solution
4. Deploy the solution to Hololens 2 (with ARM64 Remote machine deploy settings) and launch profiler
5. Press the button with the text "Create ImageDecoders" -> Observe the memory usage on the profiler -> Press the same button multiple times
Expected result: Memory leak does not occur
Actual result: Memory leak occurs every time the button is pressed
Reproducible in: 2019.4.28f1, 2020.3.8f1, 2021.1.10f1, 2021.2.0a19
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a13
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.1f1