Problem Description
This is a Safari bug, not a Construct 2 bug. I'm reporting it here because Scirra asked me to on Twitter.
Safari on iOS 9.3 crashes while loading certain M4A files. This bug seems similar to one that was discussed here a while ago (importing-certain-wav-files-crashes-on-safari_t120520, safari-error-loading-up-game_t120751). Scirra's test case at http://www.scirra.com/labs/bugs/audiodecodecrash/ causes a crash as well. I only recently started testing my project on iOS, so I don't know if this is a new bug or they just never fixed the old one.
Attach a Capx
https://docs.google.com/uc?id=0B9vjHWIE ... t=download
Description of Capx
It's a blank project with two things added: an Audio object, and a sound file that triggers the bug. There are no events.
Steps to Reproduce Bug
- Enable Preview on LAN, if you haven't already.
- Preview the project.
- Browse to the preview URL on iOS Safari.
Observed Result
The tab crashes and auto-reloads a few times with the message "A problem occurred with this webpage so it was reloaded.", then gives up.
Expected Result
A blank white playfield and no crash.
Affected Browsers
This appears to be specific to Safari on iOS. Safari on Mac OS X is unaffected.
I don't have an iOS device, so most of my testing has been in the iOS Simulator app included in Xcode. I've reproduced it a couple of times on a briefly borrowed iPhone.
Operating System and Service Pack
iOS 9.3
Construct 2 Version ID
Release 227 (64-bit)