I’m using Unity3D with Objective-C to run on iOS. JUCE is our audio provider. When we connect a screen with an HDMI cable, there is a notification that sends to an object that is no longer valid. There is a hidden call that we have no source code to find. [CoreAudioObjC screenConnect;] Is this a part of the JUCE library? I’d like to disable it’s desire to detect a screen connection or see a way to make sure that the object is not deallocated prematurely.
The error in XCode when I have Zombie Detection enabled is:
The game doesn’t crash when we disconnect a screen, or when we plug/unplug headphones, and we are using JUCE to detect and reroute the audio through the right device.