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
- SerializeReference does not update references when the generic field type changes
- Memory leak when running tests in IL2CPP with System.Threading.Timer
- Tile Palette Tilemap dropdown icons are not visible
- Create New Tile Palette dropdown text is not centered and text is cut off
- Volume numeric fields allows adding unlimited number in numeric field which breaks UI, no character limit
Add comment