How can I know the FMOD_STUDIO_INIT_LIVEUPDATE mode has been used?

I init fmodtudio with FMOD_STUDIO_INIT_LIVEUPDATE|FMOD_STUDIO_INIT_NORMAL,
and i open my game with connecting the FMOD Studio by pressing F5,then i open a second game but now it report something wrong when i play some event.
but why the _studio_system->initialize(...)didn’t return any error?

If you start a second FMOD system while the first is still running than there will be problems because the network port is already taken.

Due to the underlying networking implementation of some platforms, reporting of network errors is delayed until Studio::System::Update() is called. Studio::System::Init() will return successfully.

You can use the lowlevel System::SetAdvancedSettings() (http://www.fmod.org/documentation/#content/generated/FMOD_System_SetAdvancedSettings.html) to change the listen port and stop the two systems conflicting.

1 Like