Over time, a project exported as a Universal 8.1 (Windows 8.1 and Windows Phone 8.1) app from Construct 2 r168 will leak memory only in Windows Phone 8.1. Despite sharing the same code, the Windows 8.1 build does not leak memory. Only the Windows Phone build does.
Attach a Capx
This issue was observed with my own capx as well as your own template files. No need to appach a capx file... simply use the Flapping Bird template with no modifications. I tested and confirmed the same issue occurs.
Description of Capx
Test with Flapping Bird template.
Steps to Reproduce Bug
- Export app from Construct 2 as Universal 8.1.
- Open the project in Visual Studio 2013.
- Run app on Windows Phone
- Do nothing. The app immediately starts leaking memory, even just sitting on the main play screen.
- Try with Windows 8 and notice there is no memory leak.
The app slowly increases total memory used, about 1-2 MBs per minute. Eventually, app crashes as it runs out of memory.
I expect the memory use to remain the same over time.
Operating System and Service Pack
Windows Phone 8.1 (issue occurs on device with Lumia 920, and in emulator)
Construct 2 Version ID
Construct 2 release 168 64bit