# FMOD Events that contain Snapshots / subevents or instruments with loops are considered Loops (not Oneshots) in Unity

**URL:** <https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [February 24, 2022, 11:54am UTC](https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437 "2022-02-24T11:54:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wobblersound](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@wobblersound](https://qa.fmod.com/u/wobblersound)\
**Post date:** [February 24, 2022, 11:54am UTC](https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437/1 "2022-02-24T11:54:56Z")

</div>

hello!

seen in versions 2.02.04, 2.01.14, as well as 2.01.11  
(i THINK bug was NOT present in 2.01.09)

repro:

- create a simple event that contains a snapshot (see screenshot)
- in code ask for the property .IsOneshot → will return “false”  
 → for both `eventDescription.isOneshot(out isOneshot)`  
 → and `EventManager.EventFromPath("x/x/path").IsOneShot`

 ![simpleSNPevent](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/aea3494cf70a2915b760f4406cb7f9a4c4a058ac.png)

which is imho not correct.

---

<div class="post-metadata">

**Author:** ![wobblersound](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@wobblersound](https://qa.fmod.com/u/wobblersound)\
**Post date:** [February 25, 2022, 10:20am UTC](https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437/2 "2022-02-25T10:20:56Z")

</div>

Bug also happenes when an event has a nested event that is a loop, but is set to Cut and played only once in base event, see screenshot.  
the Nested event is just an empty loop, but in the base event it is just played once.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/07f0cc5f010c87057c8cba1ca9a6b90f78534b21.png)

---

<div class="post-metadata">

**Author:** ![wobblersound](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@wobblersound](https://qa.fmod.com/u/wobblersound)\
**Post date:** [February 25, 2022, 10:25am UTC](https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437/3 "2022-02-25T10:25:44Z")

</div>

and one more. bug ALSO applies when i just have a single instrument in it, and this instrument is set to loop - but event will still just play as a oneshot of course.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7faef2cd168c042a2f933ec4d09881a26e20dc40.png)

this can lead to a lot of light and heavy errors, since of course loops need a different treatment than oneshots.

a timely fix for this is highly appreciated, thank you very much!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [February 28, 2022, 11:39pm UTC](https://qa.fmod.com/t/fmod-events-that-contain-snapshots-subevents-or-instruments-with-loops-are-considered-loops-not-oneshots-in-unity/18437/4 "2022-02-28T23:39:06Z")

</div>

This has been addressed in our upcoming release (2.01.15+). You can sign up to our [newsletter](https://www.fmod.com/#subscribe) to keep up to date when new versions have been released.
