iOS 14 Support: OpenAL crashes

Cocos2d-x 3.17.2 and I believe 4.0 too, uses OpenAL. This has been deprecated for some time on iOS, and is now causing crashes on iOS 14 Beta.

It’s hard to show why it’s crashing, all I can provide right now is:

The following function call alcMakeContextCurrent(context) causes a deadlock, the IOBuffer has a stream index out of range and the buffer is null. exception is thrown with error code -50.

Has anyone else had any issues with this? Can we expect a fix or are you waiting to see if an iOS 14 beta update will fix it?

3 Likes

Hi,
not sure if this might the same root cause, but might be a possibility.
https://developer.apple.com/forums/thread/61592
(scroll to the bottom of the thread)