Search Issue Tracker
By Design
Votes
1
Found in
5.4.0b21
Issue ID
802642
Regression
No
After iOS or tvOS build is made, GC allocated memory in editor is not released as frequently as before the build
Steps to reproduce:
1. Open attached project (or a new one, makes no difference)
2. Open profiler, and run empty scene
3. Check the 'Memory' tab, specifically, the 'Total GC Allocated' graph, notice the GC memory is released every 100 frames or so (the red graph drops)
4. Build the project for iOS or tvOS
5. Run the same scene again
6. Check the profiler's Memory tab again, notice that this time, 'Total GC Allocated' is being released way less frequently (on my machine, every 3000-3500 frames)
Workaround: Placing a simple script, that calls GC.Collect() once every 100 frames makes the issue disappear.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment