Search Issue Tracker
Won't Fix
Votes
2
Found in
5.3.3f1
Issue ID
778202
Regression
No
Garbage Collection fails to free up necessary memory
How to reproduce:
1. Open attached project
2. Build to iOS and run
3. In Xcode, switch to the Memory profiler window
4. On the device, tap the on-screen button quite rapidly (4+ taps per second)
- Note how the memory usage eventually goes above 200mb, and sometimes reaches a state when it simply crashes due to a memory error
- The memory usage does not always go above 200mb and if it does, it does not always reach a crashing state
- Make sure to have some ritual candles and a small animal to sacrifice, just in case the tapping finger gets tired
- Reproduced in Version 5.4.0b9 (04b47bfe5580), Version 5.3.3p3 (1c43f6d3d3c3) on an iPhone5 (iOS 7.1)
- Not reproducible with an iPad Mini 4 (iOS 9.1)
- Project does not work properly with Version 5.2.4f1 (98095704e6fe)
- Won't Fix: In this case it might be better to try allocating that memory in native code in a plugin. Although that will be more complex than allocating it in managed code, it will give one complete control over the lifetime of the memory. For large chunks of memory like this, more tightly controlled allocation is sometimes a good alternative.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment