0
0

hi ,
Test settings: max instance (1) ;Stealing(change all but None)
Test operation: create instances at the same time
result: last instance will be stop by next instance,just like Stealing(Oldest) effect

when I change Stealing mode in Fmod Studio Editor (1.10.02), build banks and sync in Assets,but it’s not working in Unity. Just keep playing. Only Stealing(None) is working. Is there anyone knows why ? oldest,furthest, quietest, virtualize not working ?

  • You must to post comments
0
0

Hi,

The stealing behaviour for events are usually based on the volume of the event (all tracks, master track, distance attenuation taken into consideration) such as quietest and virtualize. Furthest stealing is for the event instance furthest away from the listener and oldest is the event instance created the oldest.

https://www.fmod.com/resources/documentation-studio?page=/advanced-topics.html#stealing

If you are creating multiple events at the same time they will end up having the same volume, distance, and “age” so which one gets stolen can be difficult to track. Usually it is down to which line in your game code came first.

In my testing all stealing behaviours function as expected. Can you provide further information what you are expecting to happen and what is actually happening?

Thanks,
Richard

  • You must to post comments
0
0

Did you have any luck getting this to work? I’m having the same issue.

The only thing I can think of is that I’m using Unity 2018.1.5f1, and the documentation for the Unity Integration says “The Integration will work with all versions of Unity 5 up to 2017.3 both Pro and Free” so maybe the integration is out of date?

With regards to Richard’s comment, I am starting multiple sounds all at the same time, but they have attenuation set, and they’re scattered at semi-random distances from the listener at the start, and I move the listener around, so the “quietest/virtualize” value should never be the same for any of the sounds.

  • Richard Simms

    Hi Terry,

    The FMOD Unity integration works for 2018.1 as well, it’s the documentation that is out of date.

    Would you be able to upload an example Unity project with the FMOD Studio project for us to investigate? Go into your fmod.com account’s profile page and there should be an “Upload” tab available. Zip up your projects and upload them.

    Thanks,
    Richard

  • Terry

    Thanks, Richard. I uploaded the projects. It’s pretty simple. On my side, only 3 sounds will start of the 4 (which is to be expected since I’m limiting the group to 3), but the 4th sound never starts up no matter where I move the listener or reposition the sources (while running).
    I’m sure it’s something simple I didn’t check correctly. Hopefully fresh eyes will spot it immediately.
    thanks!

  • Richard Simms

    Hi Terry,

    Your group bus (“New Group”) has been set to 3 Max Instances. This is the maximum number of _event instances_ that can pass through this bus and _not_ the number of events routed into it that can play. If you set this to infinity (“oo”) then all event instances play correctly.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.