I am trying use Vivox with visionOS, but it crashed when Join Channel every time.(work on simualtor).
I can’t find the vivox-vision package, so I create a directory (com.unity.services.vivox-visionos) and then download the Core visionOS SDK(5.2.3) (copy nativeapi.a in iOS platform) libs and copy to the visionos folder.
Log:
*** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: '[[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr]: returned false, error Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"'
*** First throw call stack:
(0x19bde79e4 0x1936c27fc 0x19bde78dc 0x1955c27cc 0x1955c2b44 0x195501a3c 0x1955bb33c 0x1955bf174 0x1aa18fc40 0x1a9fd53e4 0x1a9fce184 0x1a9f25738 0x1a9f2561c 0x1a9fcd13c 0x1aa0e48cc 0x1aa0e3908 0x1aa1a2754 0x1aa089c98 0x1aa08e748 0x262519cc8 0x26250b344 0x26250e678 0x262521bd4 0x262520878 0x26250e4f4 0x26250dcdc 0x26251c654 0x26251ce58 0x262785560 0x26278c7bc)
Uncaught exception: com.apple.coreaudio.avfaudio: [[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr]: returned false, error Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"
(
0 CoreFoundation 0x000000019bde79f0 F77A1D82-1719-3A07-951F-E2D22F4149E3 + 1174000
1 libobjc.A.dylib 0x00000001936c27fc objc_exception_throw + 76
2 CoreFoundation 0x000000019bde78dc F77A1D82-1719-3A07-951F-E2D22F4149E3 + 1173724
3 AVFAudio 0x00000001955c27cc FD262ABE-E17D-39E4-8815-C0D262163F08 + 1087436
4 AVFAudio 0x00000001955c2b44 FD262ABE-E17D-39E4-8815-C0D262163F08 + 1088324
5 AVFAudio 0x0000000195501a3c FD262ABE-E17D-39E4-8815-C0D262163F08 + 297532
6 AVFAudio 0x00000001955bb33c FD262ABE-E17D-39E4-8815-C0D262163F08 + 1057596
7 AVFAudio 0x00000001955bf174 FD262ABE-E17D-39E4-8815-C0D262163F08 + 1073524
8 PHASE 0x00000001aa18fc40 C426D23E-6A89-3CBE-9742-778BA04A841E + 2571328
9 PHASE 0x00000001a9fd53e4 C426D23E-6A89-3CBE-9742-778BA04A841E + 758756
10 PHASE 0x00000001a9fce184 C426D23E-6A89-3CBE-9742-778BA04A841E + 729476
11 PHASE 0x00000001a9f25738 C426D23E-6A89-3CBE-9742-778BA04A841E + 38712
12 PHASE 0x00000001a9f2561c C426D23E-6A89-3CBE-9742-778BA04A841E + 38428
13 PHASE 0x00000001a9fcd13c C426D23E-6A89-3CBE-9742-778BA04A841E + 725308
14 PHASE 0x00000001aa0e48cc C426D23E-6A89-3CBE-9742-778BA04A841E + 1870028
15 PHASE 0x00000001aa0e3908 C426D23E-6A89-3CBE-9742-778BA04A841E + 1865992
16 PHASE 0x00000001aa1a2754 C426D23E-6A89-3CBE-9742-778BA04A841E + 2647892
17 PHASE 0x00000001aa089c98 C426D23E-6A89-3CBE-9742-778BA04A841E + 1498264
18 PHASE 0x00000001aa08e748 C426D23E-6A89-3CBE-9742-778BA04A841E + 1517384
19 libdispatch.dylib 0x0000000262519cc8 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 77000
20 libdispatch.dylib 0x000000026250b344 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 17220
21 libdispatch.dylib 0x000000026250e678 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 30328
22 libdispatch.dylib 0x0000000262521bd4 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 109524
23 libdispatch.dylib 0x0000000262520878 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 104568
24 libdispatch.dylib 0x000000026250e4f4 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 29940
25 libdispatch.dylib 0x000000026250dcdc BAD28816-B3B5-3FF5-B08D-39B6C917493E + 27868
26 libdispatch.dylib 0x000000026251c654 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 87636
27 libdispatch.dylib 0x000000026251ce58 BAD28816-B3B5-3FF5-B08D-39B6C917493E + 89688
28 libsystem_pthread.dylib 0x0000000262785560 _pthread_wqthread + 228
29 libsystem_pthread.dylib 0x000000026278c7bc start_wqthread + 8
)
libc++abi: terminating due to uncaught exception of type NSException