Hello,
I am currently testing microphone features on VisionOS through Unity App. I’m stuck with a bug, related to the calling of simulated microphone device.
Would you please help me to find a solution to work through this bug ?
Choses are the results of the Xcode console while debugging my simulated VisionOS app.
Unity functions : StartRecording() InteractionControllerScript:Update()
Microphone.Start(Microphone.devices[0], false, duration, 44000); (where the line of code crash).
Simulated Xcode VisionOS side :
MEMixerChannel.cpp:1006 MEMixerChannel::EnableProcessor: failed to open processor type 0x726f746d
AURemoteIO.cpp:1162 failed: -10851 (enable 1, outf< 2 ch, 0 Hz, Float32, deinterleaved> inf< 1 ch, 44100 Hz, Int16>)
Starting microphone failed: "An error occured trying to initialize the recording device. " (70)
Unity version : 2022.3.24f1 Xcode version : 15.3 Mac Version : MacBook Air M3 2024 Mac Os : 14.3 (23D2057)
Thx a lot.