Language

SearchIssue Tracker

0

5.4.2p4

850332

No

Memory leak when unloading unused assets with Metal

Memory is continuously allocated (2 KB at a time) each time a scene is loaded on iOS with Metal as the Graphics API.

Steps to reproduce:
1) Open the attached project.
2) Build for iOS or as Mac standalone with Metal as the Graphics API.
3) Run on a Metal-capable device.
4) Using Instruments, monitor the memory allocations.

Memory is allocated (2 KB on iOS and 3KB on Mac standalone) each time a scene is switched. The memory buildup causes the app to crash eventually.