Answered
0
0

Hey there,

I’m working with FMOD Studio 10901 and Unity 5.5.0f3 and have at the moment following
issue:

In the fmod.log I’m getting hundreds of this warnings:

[WRN] PlaylistInstrumentInstance::startFullLengthHook : Attempting to schedule a sound in the past, this could cause inaccurate playback.

[WRN] PlaybackSystem::onDestroyEvent : Destroying event instance ‘205400’ due to event description {c81d63b4-dd90-4721-a331-91e394ddc5e0} unload

I think that’s the reason why I get later in the build version some kind of jitter or stutter effect for the audio.

In the unity editor it seems to run fine and the debug overlay shows good values:
CPU dsp = 5-10%, studio = 2-3%
MEMORY curr = 10, max = 17 MB
CHANNELS real = 20, total = 40

I’m using the right Integration Package for my FMOD Version.
My FMOD Settings in Unity:
Loading all event data at initialization is enabled
CHANNELS for editor and build: real = 32, virtual = 128

I have a master and several level banks. the master bank I want to keep always and the level banks I want load and unload on my own. I already tried to do all by my own and disabled “Loading all event data..” but this results that the “bus:/” could not be found. Even if I load the master, master.string and level bank correctly.

In the Unity project I’m working with the FMOD scripts (Emitter, Listener, …) and also with some own written scripts for example footsteps which are triggered by animation events.

Can someone plz explain me what this warnings mean and what I did wrong in my integration? Thx for your help.

  • You must to post comments
Best Answer
0
0

Loading bank sample data should help with the “Attempting to schedule a sound in the past” warnings, this is normally a sign that the event hasn’t had enough time to load before it is started.

It appears that in Unity, OnApplicationPaused is fired at startup which can cause “bus:/ could not be found” if you are trying to load banks manually, I will create a task to fix this in a future release.

As long as the major version of the integration is the same as the Studio version, you can feel free to use a newer integration version.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.