Migrating from Unity2021.3.9f1 to Unity6000.0.32f1.
I installed an app built with Unity6 on my Xperia1 and now the sound is not playing through the earphones connected via Bluetooth, so I would like to fix this problem.
The most suspicious error log is
AAudioStream_requestStart(0x7611ddee00) called --------------
PlayerBase::start() from IPlayer
PlayerBase::start() error -61
AAudioStream_requestStart(0x7611ddee00) returned -889 ---------
AAudioStream_requestStop(0x7611ddee00)
PlayerBase::stop() from IPlayer
onEventFromServer - AAUDIO_SERVICE_EVENT_DISCONNECTED - FIFO cleared
AAudioStream_close(0x7611ddee00) called ---------------
close(): mServiceStreamHandle = 0x0000001E
setState(0x7611ddee00) tried to set to 11 but already DISCONNECTED
destroying 0x7611ddee00, state = AAUDIO_STREAM_STATE_CLOSED
AAudioStream_close(0x7611ddee00) returned 0 ---------
FMOD failed to initialize the output device.: "Error initializing output device. " (60)
It seems that the initialization process of FMOD has failed, but I couldn’t figure out why it was failing.
This error log did not appear on the SC-53D or Pixe9, which were working properly.
I have prepared a simple application.
When building this application with Unity6, sound does not play from earphones connected via Bluetooth to Xperia1.
thank you.