FMOD disconnects from Unity editor on MacOS and floods the debug console with error messages

FMOD starts to throw the following errors in each Update event in the Unity Editor (2023.2.2f1 Silicon build) under MacOS (13.5.2) on a M1 Macbook:

(i) [FMOD] OutputCoreAudio::getDriverInfo : AudioObjectGetPropertyData for kAudioDevicePropertyNominalSampleRate returned 1768911973.

(ii) [FMOD] AsyncManager::asyncThreadLoop : System::update returned error 49.

The only solution is to restart the Unity Editor as once this starts, there is no more audio output and it also makes debugging impossible by flooding the Console with error messages. Unfortunately it happens almost every 10 minutes, and restarting the Unity editor every 10 mins is very painful. Please advise as this is a major issue.

I could not pinpoint any event or action that triggers this.

Hi,

A couple of questions:

  • What version of FMOD for Unity are you using?
  • What device and driver are you outputting audio to? Are you making any changes to the device or driver while the Unity editor is running (either from Unity code or externally)?
  • Can I get you to set your logging level to Log and enable API error logging in your FMOD Unity settings, and post a log where the issue occurs here?

Hi Louis,

Thanks for the super quick response.

I use FMOD for Unity version Version: 2.02.19

Initially I had the same guess, that it happens when Bluetooth headphone connects. Sometimes it does indeed happens with that, but often no connection of new device occurs and FMOD still starts to throw these errors.

I switched on logs, once I have results from that I’ll add it to the thread.

Hi Louis,

Back with the log information. You can see how hell broke loose in the following log entries attached. I hope it helps…

So, it turned out that new users can’t do attachments. And possibly I am considered new on the forums. :frowning: So here is an excerpt:

[FMOD] Manager::init : done.

UnityEngine.Debug:Log (object)
FMODUnity.RuntimeUtils:DebugLog (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:548)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:99)
FMOD.Studio.System:initialize (int,FMOD.Studio.INITFLAGS,FMOD.INITFLAGS,intptr) (at Assets/Plugins/FMOD/src/fmod_studio.cs:419)
FMODUnity.RuntimeManager:Initialize () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:363)
FMODUnity.RuntimeManager:get_Instance () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:194)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:852)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] Manager::readBank : fileversion = 142, compatVersion = 140 (oldest = 44, newest = 142)

UnityEngine.Debug:Log (object)
FMODUnity.RuntimeUtils:DebugLog (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:548)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:99)

[FMOD] OutputCoreAudio::getDriverInfo : AudioObjectGetPropertyData for kAudioDevicePropertyNominalSampleRate returned 1768911973.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

[FMOD] System::update() returned ERR_OUTPUT_DRIVERCALL for SYSTEM (0x1381B8008).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)

[FMOD] AsyncManager::asyncThreadLoop : System::update returned error 49.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

[FMOD] System::Update() returned ERR_OUTPUT_DRIVERCALL for STUDIO_SYSTEM (0x0).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)

[FMOD] OutputCoreAudio::getDriverInfo : AudioObjectGetPropertyData for kAudioDevicePropertyNominalSampleRate returned 1768911973.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

[FMOD] System::update() returned ERR_OUTPUT_DRIVERCALL for SYSTEM (0x1381B8008).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)

[FMOD] AsyncManager::asyncThreadLoop : System::update returned error 49.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

[FMOD] System::Update() returned ERR_OUTPUT_DRIVERCALL for STUDIO_SYSTEM (0x0).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)

[FMOD] System::loadBankFile(Assets/[Audio]/FMOD/Build/Desktop/Master.bank, 0, 0x16d1bb128) returned ERR_NOTREADY for STUDIO_SYSTEM (0x1FFF1F).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)
FMOD.Studio.System:loadBankFile (string,FMOD.Studio.LOAD_BANK_FLAGS,FMOD.Studio.Bank&) (at Assets/Plugins/FMOD/src/fmod_studio.cs:668)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:895)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.RuntimeManager:LoadBanks (FMODUnity.Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:979)
FMODUnity.RuntimeManager:Initialize () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:393)
FMODUnity.RuntimeManager:get_Instance () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:194)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:852)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] Manager::readBank : fileversion = 142, compatVersion = 140 (oldest = 44, newest = 142)

UnityEngine.Debug:Log (object)
FMODUnity.RuntimeUtils:DebugLog (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:548)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:99)

BankLoadException: [FMOD] Could not load bank ‘Assets/[Audio]/FMOD/Build/Desktop/Master.bank’ : ERR_NOTREADY : Operation could not be performed because specified sound/DSP connection is not ready.
FMODUnity.RuntimeManager.RegisterLoadedBank (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:791)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples, System.String bankId) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:896)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.RuntimeManager.LoadBanks (FMODUnity.Settings fmodSettings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:979)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:596)
FMODUnity.RuntimeManager:LoadBanks(Settings) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:986)
FMODUnity.RuntimeManager:Initialize() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:393)
FMODUnity.RuntimeManager:get_Instance() (at Assets/Plugins/FMOD/src/RuntimeManager.cs:194)
FMODUnity.RuntimeManager:LoadBank(String, Boolean, String) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:852)
FMODUnity.RuntimeManager:LoadBank(String, Boolean) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent(LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] System::loadBankFile(Assets/[Audio]/FMOD/Build/Desktop/Horse.bank, 0, 0x16d1bb678) returned ERR_NOTREADY for STUDIO_SYSTEM (0x1FFF1F).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)
FMOD.Studio.System:loadBankFile (string,FMOD.Studio.LOAD_BANK_FLAGS,FMOD.Studio.Bank&) (at Assets/Plugins/FMOD/src/fmod_studio.cs:668)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:895)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

BankLoadException: [FMOD] Could not load bank ‘Assets/[Audio]/FMOD/Build/Desktop/Horse.bank’ : ERR_NOTREADY : Operation could not be performed because specified sound/DSP connection is not ready.
FMODUnity.RuntimeManager.RegisterLoadedBank (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:791)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples, System.String bankId) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:896)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader.Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:596)
FMODUnity.StudioBankLoader:Load() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:104)
FMODUnity.StudioBankLoader:HandleGameEvent(LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] System::loadBankFile(Assets/[Audio]/FMOD/Build/Desktop/Enemies.bank, 0, 0x16d1bb678) returned ERR_NOTREADY for STUDIO_SYSTEM (0x1FFF1F).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)
FMOD.Studio.System:loadBankFile (string,FMOD.Studio.LOAD_BANK_FLAGS,FMOD.Studio.Bank&) (at Assets/Plugins/FMOD/src/fmod_studio.cs:668)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:895)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

BankLoadException: [FMOD] Could not load bank ‘Assets/[Audio]/FMOD/Build/Desktop/Enemies.bank’ : ERR_NOTREADY : Operation could not be performed because specified sound/DSP connection is not ready.
FMODUnity.RuntimeManager.RegisterLoadedBank (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:791)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples, System.String bankId) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:896)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader.Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:596)
FMODUnity.StudioBankLoader:Load() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:104)
FMODUnity.StudioBankLoader:HandleGameEvent(LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] System::loadBankFile(Assets/[Audio]/FMOD/Build/Desktop/Environment.bank, 0, 0x16d1bb678) returned ERR_NOTREADY for STUDIO_SYSTEM (0x1FFF1F).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)
FMOD.Studio.System:loadBankFile (string,FMOD.Studio.LOAD_BANK_FLAGS,FMOD.Studio.Bank&) (at Assets/Plugins/FMOD/src/fmod_studio.cs:668)
FMODUnity.RuntimeManager:LoadBank (string,bool,string) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:895)
FMODUnity.RuntimeManager:LoadBank (string,bool) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

BankLoadException: [FMOD] Could not load bank ‘Assets/[Audio]/FMOD/Build/Desktop/Environment.bank’ : ERR_NOTREADY : Operation could not be performed because specified sound/DSP connection is not ready.
FMODUnity.RuntimeManager.RegisterLoadedBank (FMODUnity.RuntimeManager+LoadedBank loadedBank, System.String bankPath, System.String bankName, System.Boolean loadSamples, FMOD.RESULT loadResult) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:791)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples, System.String bankId) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:896)
FMODUnity.RuntimeManager.LoadBank (System.String bankName, System.Boolean loadSamples) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:847)
FMODUnity.StudioBankLoader.Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:100)
UnityEngine.Debug:LogException(Exception)
FMODUnity.RuntimeUtils:DebugLogException(Exception) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:596)
FMODUnity.StudioBankLoader:Load() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:104)
FMODUnity.StudioBankLoader:HandleGameEvent(LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable() (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] System::flushSampleLoading() returned ERR_OUTPUT_DRIVERCALL for STUDIO_SYSTEM (0x1FFF1F).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)
FMOD.Studio.System:flushSampleLoading () (at Assets/Plugins/FMOD/src/fmod_studio.cs:695)
FMODUnity.RuntimeManager:WaitForAllSampleLoading () (at Assets/Plugins/FMOD/src/RuntimeManager.cs:1078)
FMODUnity.StudioBankLoader:Load () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:107)
FMODUnity.StudioBankLoader:HandleGameEvent (FMODUnity.LoaderGameEvent) (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:21)
FMODUnity.StudioBankLoader:OnEnable () (at Assets/Plugins/FMOD/src/StudioBankLoader.cs:86)

[FMOD] OutputCoreAudio::getDriverInfo : AudioObjectGetPropertyData for kAudioDevicePropertyNominalSampleRate returned 1768911973.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

[FMOD] System::update() returned ERR_OUTPUT_DRIVERCALL for SYSTEM (0x1381B8008).
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:ERROR_CALLBACK (intptr,FMOD.SYSTEM_CALLBACK_TYPE,intptr,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:129)

[FMOD] AsyncManager::asyncThreadLoop : System::update returned error 49.

UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:580)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:91)

Cheers

Just one more comment. Often FMOD continues to dump these error messages in Edit mode, not just in Play mode.

Apologies for the delayed response, and thanks for posting your logs.

This makes sense, as FMOD for Unity will continue to try and initialize the FMOD system on subsequent calls to FMOD following the previous initialization failure.

A few follow up questions:

  • Are you able to reproduce this issue with a fresh Unity project?
  • What device and driver are you outputting audio to, and what sample rate is the output using? Is there anything non-standard about your output? For example, are you using virtual audio outputs e.g. Soundflower?
  • Are you making use of any external plugins with FMOD in your Unity project?

Hi Louis,

No worries. I am also pretty swamped right now. That is why I won’t have time to experiment with a fresh project. I’ll let you know if I get to that. The answers for the further questions:

  • it happens with several devices (built-in speakers, Apple airpods etc.) No virtual devices.
  • sample rate set to 48 kHz
  • I don’t use any external plugins

Before this error occurs there is no issue with FMOD sound playback.

Thanks for the additional information. Unfortunately, I’ve been unable to reproduce the issue on my end. When you have time, as previously mentioned, I would recommend testing with a fresh Unity project, and also the examples that ship with the FMOD Engine installer (located in ./api/studio/examples), to see whether you can reproduce the issue.

If you’re only able to reproduce the issue in your current Unity project, it’s likely to be an issue with something in that project specifically - can I get you to upload the project (or a stripped-down version where you are able to reproduce the issue) so that I can take a look at it? You can do so in the Uploads tab of your FMOD Profile.

Hi Louis, thanks a lot for trying to solve this. I have just updated to MacOS Sonoma, so we’ll see if this problem still exists after the update.