We’ve noticed a big performance decrease in our sound implementation on Android in the 1.2.84 version (and thus the 1.2.85 version). iOS versions doesn’t seem to be affected.
We are currently working on fixing this, stay tuned for updates…
Regards,
The Defold Team
5 Likes
Update:
We have now located the issue, and fixed it (DEF-1999)
It was an issue on Android only, in the new function sound.is_phone_call_active
The fix should be in the next release, 1.2.86.
In the meantime, the workaround is to not use it, or monkey patch it (on android)
Sorry for the inconvenience!
Regards,
The Defold Team
5 Likes
Update 2:
It seems I misspoke a little. The function in question is used during the update loop of the engine, so you cannot monkey patch it. You will simply have to wait for the next release (1.2.86)
3 Likes
Sorry for the wait. Here is a beta release for the 1.2.86 release, in case you have run into this performance issue. (We also appreciate the help in testing it): http://d.defold.com/beta/
4 Likes