Spatial Audio: <<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:612

Ok trying to play Spatial Audio on my VisionPro. OS26.4, using Xcode 26.4.1. Every attempt gives me the following error.

<<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:612

I have tried the sample code at https://developer.apple.com/documentation/visionos/playing-spatial-audio-in-visionos and it gives the same error.

Thanks so much for the post. Can you provide as much information as possible so the visionOS engineers can take a look about the error in the Audio Session including the code you are using to reproduce the issue.

Is it happening on unmodified sample code on a physical Vision Pro?

As a developer, you are likely mirroring your Vision Pro to your Mac while debugging with Xcode? When you mirror your screen, visionOS attempts to route audio to the AirPlay receiver (your Mac). The spatial audio engine cannot render 3D audio over a standard stereo AirPlay connection, causing FigAudioSession to crash or throw the -19224 error.

Can you provide information is you are AirPlay mirroring from the Vision Pro Control Center. Have you tried the device by itself? How are you using the audio session? Can you post the code? If another app recently used the audio session, or if the system defaulted to .ambient? Add the AVAudioSession.sharedInstance().setCategory(.playback) code.

All those details will help engineers figure it out.

Albert
  Worldwide Developer Relations.

Spatial Audio: &lt;&lt;&lt;&lt; FigAudioSession(AV) &gt;&gt;&gt;&gt; signalled err=-19224 at &lt;&gt;:612
 
 
Q