How do max instances work?

Hi Brent,

The max instances property sets a limit on how many instances of this event can play simultaneously.

If your game’s code attempts to play any instance of the event, and that event instance would exceed the number set in the event’s max instances property, FMOD Studio culls or virtualizes event instances according to the event’s stealing property.

  • Oldest: Stop the event instance that was created the longest time ago.
  • Quietest: Stop the event instance that is the least audible, taking distance attenuation into consideration.
  • Virtualize: New event instances will be virtualized, meaning they are created and played but produce no output until an existing event instance stops.
  • None: No stealing will occur, therefore no new event instances can be played until an existing even instance stops.

Thanks,
Richard

1 Like