I have a problem with URLoader crashing after several calls, usually after 4-7 times.
I’m reusing the same URLLoader instance with new URLRequest each time.
It’s only happening in iOS, Android and Flash versions work fine.
It looks like a memory leak, cause I see this memory warnings from time to time in logs.
When crash happens, Xcode just lose connection, so I see nothing in logs.
Any help @singmajesty? This is kind of urgent, cause game is released already.
Ok, I was wrong, it’s not an URLoader problem, but it’s some kind of memory leak, maybe connected to Bitmaps.
Are there any ways to figure out what is happening? Cause XCode simply disconnects.
I think this change might help with the TextField memory at the moment:
OpenAL is different on iOS and macOS than it is on all other platforms, so it could be that we give it a value it doesn’t like. For example, I saw it crash on an old version if we accidentally tried to seek to a negative value. OpenAL-Soft, which we use elsewhere, didn’t mind and handled it properly without a crash.
I wonder if there’s some better way to make it crash (or could it have been a user with an older build that had that issue?)
No stack trace, as I told before, Xcode simply disconnects on crash providing zero information.
I have placed numerous traces, trying to find where it crashes in the code, but it seems that crash happens outside of my code.
Didn’t experience this on Android, Windows or Flash.