Hi! We're currently holding off releasing on instant games because of the bug that decreases performance after the game is suspended or an ad is shown. We know this is most likely due to how the Facebook SDK handles the RAF update method and it would be best if it was fixed by them and not in the construct engine. But, as this has been going on for months now it seems they might not be interested in doing that. So is there anything we can do to workaround this issue? It's currently stopping us from releasing.
For our last release we went with Construct 2 instead, but we can't do that this time.
More info about the bug:
github.com/Scirra/Construct-3-bugs/issues/2403
github.com/Scirra/Construct-3-bugs/issues/2595
facebook.com/login.php
Thanks!
I think Facebook have been pretty negligent here: it's a serious bug which they've left unfixed for months. It seems we have no choice but to hack our way around it, which I've done for the next beta release.
This only relates to C3 runtime, the "hack" already exist in the C2 runtime?
Develop games in your browser. Powerful, performant & highly capable.
Yes, it relates only to the C3 runtime.
Thanks Ashley for the update! Unfortunately the Instant Games export seems to be broken in r137.
https://github.com/Scirra/Construct-3-bugs/issues/2604
Thanks Ashley! That's great news. I saw the updates in the Facebook bug thread also, so maybe it'll be solved for real by facebook in an update soon.
Oh cool! Noel is in the IG team. So if he says it will be fixed it will be fixed.
Facebook have advised me the Instant Games bug is now fixed, and I verified it with a quick test. So this should be solved now.