# Unity

**URL:** https://qa.fmod.com/c/unity/7.md?page=28

[Latest](https://qa.fmod.com/latest.md) · [Categories](https://qa.fmod.com/categories.md) · [Tags](https://qa.fmod.com/tags.md)

**Page:** 29

---

## [Managing Audio Resources Across Disparate Unity Projects: Addressable Integration and Real-time Modifications](https://qa.fmod.com/t/managing-audio-resources-across-disparate-unity-projects-addressable-integration-and-real-time-modifications/20931)

<div class="topic-metadata">

**Author:** [@ismaelmaciel66](https://qa.fmod.com/u/ismaelmaciel66)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 3:52am UTC](https://qa.fmod.com/t/managing-audio-resources-across-disparate-unity-projects-addressable-integration-and-real-time-modifications/20931 "2023-12-01T03:52:49Z")

</div>

Hello everyone, Currently, I’m involved in a relatively large-scale project. In summary, this project can be divided into two main gameplay moments: exploration and combat. Both are separate projects, each with its own …

---

## [Getting information about when a region marker ends](https://qa.fmod.com/t/getting-information-about-when-a-region-marker-ends/20915)

<div class="topic-metadata">

**Author:** [@kingblade](https://qa.fmod.com/u/kingblade)\
**Replies:** 3\
**Last updated:** [November 30, 2023, 11:22pm UTC](https://qa.fmod.com/t/getting-information-about-when-a-region-marker-ends/20915 "2023-11-30T23:22:22Z")

</div>

Hey! I’m trying to use the region feature in FMOD for subtitles in my game. The idea is that when the event plays, there is an event callback in unity that checks for EVENT\_CALLBACK\_TYPE.TIMELINE\_MARKER. When found I …

---

## [FMOD Project does not contain any built banks](https://qa.fmod.com/t/fmod-project-does-not-contain-any-built-banks/20924)

<div class="topic-metadata">

**Author:** [@danika\_mason](https://qa.fmod.com/u/danika_mason)\
**Replies:** 4\
**Last updated:** [November 30, 2023, 1:23am UTC](https://qa.fmod.com/t/fmod-project-does-not-contain-any-built-banks/20924 "2023-11-30T01:23:33Z")

</div>

genuinely not sure what to do, I swear I’ve built the banks

---

## [iPhone automatically lowers the volume of certain audio when multiple audio playing](https://qa.fmod.com/t/iphone-automatically-lowers-the-volume-of-certain-audio-when-multiple-audio-playing/20903)

<div class="topic-metadata">

**Author:** [@BuouTuanzi](https://qa.fmod.com/u/BuouTuanzi)\
**Replies:** 1\
**Last updated:** [November 29, 2023, 5:45am UTC](https://qa.fmod.com/t/iphone-automatically-lowers-the-volume-of-certain-audio-when-multiple-audio-playing/20903 "2023-11-29T05:45:00Z")

</div>

I originally had a GameObject that looped BGM with AudioEmitter, but when I dynamically added several AudioEmitter to the Scene to play battle sound effects, I noticed that the volume of the BGM decreased. After the batt…

---

## [FMOD 2.02.18 bug report](https://qa.fmod.com/t/fmod-2-02-18-bug-report/20913)

<div class="topic-metadata">

**Author:** [@hevinci](https://qa.fmod.com/u/hevinci)\
**Replies:** 1\
**Last updated:** [November 29, 2023, 2:55am UTC](https://qa.fmod.com/t/fmod-2-02-18-bug-report/20913 "2023-11-29T02:55:24Z")

</div>

If you replay the music before it fades out, it will not work. instance playback state is stopped. the sample code : FMOD.Studio.EventInstance instance; FMOD.Studio.EventDescription desc; string eventPath = “event:/M…

---

## [Stop/Clear/Reset all sounds to return to main menu](https://qa.fmod.com/t/stop-clear-reset-all-sounds-to-return-to-main-menu/20047)

<div class="topic-metadata">

**Author:** [@zanardi](https://qa.fmod.com/u/zanardi)\
**Replies:** 3\
**Last updated:** [November 27, 2023, 3:42am UTC](https://qa.fmod.com/t/stop-clear-reset-all-sounds-to-return-to-main-menu/20047 "2023-11-27T03:42:33Z")

</div>

Hi there! I was wondering if there’s a way too just reset everything when the game is returning to the main menu. Actually I have a sound that may play if a certain parameter is set, and I’m setting this parameter to it’…

---

## [VR. Setting Oculus Rift audio driver on Unity](https://qa.fmod.com/t/vr-setting-oculus-rift-audio-driver-on-unity/16635)

<div class="topic-metadata">

**Author:** [@PepitoGrillo24](https://qa.fmod.com/u/PepitoGrillo24)\
**Replies:** 13\
**Last updated:** [November 27, 2023, 1:54am UTC](https://qa.fmod.com/t/vr-setting-oculus-rift-audio-driver-on-unity/16635 "2023-11-27T01:54:06Z")

</div>

Hi. We are sending our game to the Oculus team and they are reporting that the game “must target the audio device selected in the “Audio Output in VR” setting in the Oculus app.” We have pasted the code snippet that ca…

---

## [Fmod Unity Bug: Crash when plug in/out headset when override callback](https://qa.fmod.com/t/fmod-unity-bug-crash-when-plug-in-out-headset-when-override-callback/20902)

<div class="topic-metadata">

**Author:** [@gooby](https://qa.fmod.com/u/gooby)\
**Replies:** 1\
**Last updated:** [November 26, 2023, 11:09pm UTC](https://qa.fmod.com/t/fmod-unity-bug-crash-when-plug-in-out-headset-when-override-callback/20902 "2023-11-26T23:09:52Z")

</div>

I’m having this issue where I get an error when unplugging my headset which pops up in development builds. I’m wondering why its an error when it seems like it should be a warning at best? So I browse google and find so…

---

## [Android can\`t using command instrument?](https://qa.fmod.com/t/android-can-t-using-command-instrument/20893)

<div class="topic-metadata">

**Author:** [@TaebeumKim](https://qa.fmod.com/u/TaebeumKim)\
**Replies:** 3\
**Last updated:** [November 24, 2023, 6:41am UTC](https://qa.fmod.com/t/android-can-t-using-command-instrument/20893 "2023-11-24T06:41:56Z")

</div>

Command Instruments work well in the Unity editor but do not function when the application is built for Android. In the same event, other instruments are functioning properly, but the Command Instruments are not. I am wo…

---

## [Downsides/caveats to removing FMODStudioProject folder from source repository?](https://qa.fmod.com/t/downsides-caveats-to-removing-fmodstudioproject-folder-from-source-repository/20890)

<div class="topic-metadata">

**Author:** [@torley-gallium](https://qa.fmod.com/u/torley-gallium)\
**Replies:** 2\
**Last updated:** [November 23, 2023, 8:42am UTC](https://qa.fmod.com/t/downsides-caveats-to-removing-fmodstudioproject-folder-from-source-repository/20890 "2023-11-23T08:42:22Z")

</div>

My team and I are running into this confusion: I’m adding audio to different simultaneous feature branches that I’m switching between. We use Github. Each time I switch, it also changes the FMODStudioProject folder, wh…

---

## [Fixing serialized FMOD Event References with Event Linkage set to GUID](https://qa.fmod.com/t/fixing-serialized-fmod-event-references-with-event-linkage-set-to-guid/20896)

<div class="topic-metadata">

**Author:** [@jon-nbg](https://qa.fmod.com/u/jon-nbg)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 5:53pm UTC](https://qa.fmod.com/t/fixing-serialized-fmod-event-references-with-event-linkage-set-to-guid/20896 "2023-11-22T17:53:16Z")

</div>

When refactoring event names in FMOD I have had to fix the event references in the project, which is to be expected. However, when changing the Event Linkage setting in the FMOD Settings in Unity I would expect the displ…

---

## [How do I get the "Position" of the Song between beats?](https://qa.fmod.com/t/how-do-i-get-the-position-of-the-song-between-beats/19602)

<div class="topic-metadata">

**Author:** [@LucaBGT](https://qa.fmod.com/u/LucaBGT)\
**Replies:** 4\
**Last updated:** [November 20, 2023, 8:15pm UTC](https://qa.fmod.com/t/how-do-i-get-the-position-of-the-song-between-beats/19602 "2023-11-20T20:15:47Z")

</div>

Hi everyone! I’ve just started to use FMOD in Unity and, using the TIMELINE\_BEAT\_PROPERTIES, have created the base for a rhythm game, which starts events whenever a beat is hit thanks to FMOD communication with Unity. I…

---

## [Running into FMOD crashes since updating](https://qa.fmod.com/t/running-into-fmod-crashes-since-updating/20855)

<div class="topic-metadata">

**Author:** [@uwe\_max](https://qa.fmod.com/u/uwe_max)\
**Replies:** 9\
**Last updated:** [November 16, 2023, 10:19pm UTC](https://qa.fmod.com/t/running-into-fmod-crashes-since-updating/20855 "2023-11-16T22:19:19Z")

</div>

Since updating FMOD to 2.02.13 (and this continues even to 2.02.17) from 2.02.04 we have been getting random FMOD crashes with the blocking dialog box. The logs have no interesting details in them, and sometimes they ar…

---

## [Latency in Unity+FMOD (100-200ms)](https://qa.fmod.com/t/latency-in-unity-fmod-100-200ms/15679)

<div class="topic-metadata">

**Author:** [@kiberptah](https://qa.fmod.com/u/kiberptah)\
**Replies:** 10\
**Last updated:** [November 16, 2023, 2:26am UTC](https://qa.fmod.com/t/latency-in-unity-fmod-100-200ms/15679 "2023-11-16T02:26:31Z")

</div>

Hello. I’ve recently started using FMOD with Unity and would be very happy about it if not the latency. Basically any event starts 100-200ms later then it is expected. I tried it in an empty project with just one GameObj…

---

## [Using Built-in Parameters relative to non-emitter?](https://qa.fmod.com/t/using-built-in-parameters-relative-to-non-emitter/20878)

<div class="topic-metadata">

**Author:** [@sleingrobaaf](https://qa.fmod.com/u/sleingrobaaf)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 12:09am UTC](https://qa.fmod.com/t/using-built-in-parameters-relative-to-non-emitter/20878 "2023-11-16T00:09:33Z")

</div>

hey, so probably a newbie question but i would like to be able to use some markers in a map to control/automate an ongoing soundscape or music or whatever. these markers wont be emitters though, but just “random” things…

---

## [Latency with Unity Integration and ASIO with errors Windows](https://qa.fmod.com/t/latency-with-unity-integration-and-asio-with-errors-windows/15894)

<div class="topic-metadata">

**Author:** [@Alco6](https://qa.fmod.com/u/Alco6)\
**Replies:** 4\
**Last updated:** [November 15, 2023, 5:04pm UTC](https://qa.fmod.com/t/latency-with-unity-integration-and-asio-with-errors-windows/15894 "2023-11-15T17:04:53Z")

</div>

Hello, I am trying to improve the latency of the audio play, it is taking around 120ms. I wanted to try ASIO, to see if it improves. On player settings/Audio I Disabled Unity Audio On code I only have: FMODUn…

---

## [Retreiving samples and sample rate from song](https://qa.fmod.com/t/retreiving-samples-and-sample-rate-from-song/20876)

<div class="topic-metadata">

**Author:** [@theoceanwashedoveryo](https://qa.fmod.com/u/theoceanwashedoveryo)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 10:51pm UTC](https://qa.fmod.com/t/retreiving-samples-and-sample-rate-from-song/20876 "2023-11-14T22:51:24Z")

</div>

public static double GetAudioSourceTime() { return (double)Instance.audioSource.timeSamples / Instance.audioSource.clip.frequency; } Above is a method using unityaudio that returns the timesamples divided by the samp…

---

## [Error message help](https://qa.fmod.com/t/error-message-help/20867)

<div class="topic-metadata">

**Author:** [@conorck21](https://qa.fmod.com/u/conorck21)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 4:04am UTC](https://qa.fmod.com/t/error-message-help/20867 "2023-11-14T04:04:30Z")

</div>

Hi, just added the fmod package to unity (am running 2021.3.30 and fmod 20.00.10), it goes fine but then every time I link an fmod project I get constant error messages, plus I can’t find any of the events in it, they’re…

---

## [Event State Problem](https://qa.fmod.com/t/event-state-problem/20853)

<div class="topic-metadata">

**Author:** [@Kenken0615](https://qa.fmod.com/u/Kenken0615)\
**Replies:** 2\
**Last updated:** [November 14, 2023, 3:51am UTC](https://qa.fmod.com/t/event-state-problem/20853 "2023-11-14T03:51:23Z")

</div>

Hello, i make an event which contains loop reigon like this: And this is callback set to event: And here is how i post the event: public static int PostEvent( string eventName, Transform tr = null, …

---

## [Best practices for tempo-sync/beatmatched timing across events?](https://qa.fmod.com/t/best-practices-for-tempo-sync-beatmatched-timing-across-events/20836)

<div class="topic-metadata">

**Author:** [@torley-gallium](https://qa.fmod.com/u/torley-gallium)\
**Replies:** 4\
**Last updated:** [November 13, 2023, 2:43pm UTC](https://qa.fmod.com/t/best-practices-for-tempo-sync-beatmatched-timing-across-events/20836 "2023-11-13T14:43:04Z")

</div>

I’m familiar with setting the tempo of a piece of adaptive music inside of an event, and then having that jump to different sections based on parameters. What I’m wondering about is best practices at a level above that,…

---

## [Replace Event While Playing](https://qa.fmod.com/t/replace-event-while-playing/20865)

<div class="topic-metadata">

**Author:** [@littlenorwegians](https://qa.fmod.com/u/littlenorwegians)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 2:06am UTC](https://qa.fmod.com/t/replace-event-while-playing/20865 "2023-11-13T02:06:38Z")

</div>

Bit new to FMOD and I have a basic question. I have an established event emitter called “FootstepPlayer”. It has an event, “DefaultFootstep”, that plays when a character walks. I have set up a trigger where I want to re…

---

## [Pause Music on List Method! / QUESTION / SCRIPT](https://qa.fmod.com/t/pause-music-on-list-method-question-script/20785)

<div class="topic-metadata">

**Author:** [@iAgharta](https://qa.fmod.com/u/iAgharta)\
**Replies:** 6\
**Last updated:** [November 10, 2023, 4:04am UTC](https://qa.fmod.com/t/pause-music-on-list-method-question-script/20785 "2023-11-10T04:04:00Z")

</div>

Hi folks i have a question i would like to share with you: with your help I´ve been able to create an script to play some slave GameObjects with fmod emitter inside into a master GameObject which contains all the slaves…

---

## [Warnings causing massive freezing in Unity](https://qa.fmod.com/t/warnings-causing-massive-freezing-in-unity/20854)

<div class="topic-metadata">

**Author:** [@adambenko](https://qa.fmod.com/u/adambenko)\
**Replies:** 1\
**Last updated:** [November 10, 2023, 12:58am UTC](https://qa.fmod.com/t/warnings-causing-massive-freezing-in-unity/20854 "2023-11-10T00:58:26Z")

</div>

Suddenly, I started receiving these kind of errors and warnings: FMOD\] EventInstance::update : Event {974a7fd2-2309-4e77-b10b-2132c243f953} waited 288055 milliseconds for sample data to load. Preloa…

---

## [PS5 Haptics testing](https://qa.fmod.com/t/ps5-haptics-testing/20847)

<div class="topic-metadata">

**Author:** [@NQX-DF](https://qa.fmod.com/u/NQX-DF)\
**Replies:** 5\
**Last updated:** [November 9, 2023, 9:56pm UTC](https://qa.fmod.com/t/ps5-haptics-testing/20847 "2023-11-09T21:56:51Z")

</div>

I feel like this is more fmod than PS5 so I am asking it here. The workplace doesn’t seem to want to use something like parsec or moonlight so I don’t have a full controller driver to utilize remotely. How would I test…

---

## [FMOD for non-diegetic sound + Unity Spatializer for objects?](https://qa.fmod.com/t/fmod-for-non-diegetic-sound-unity-spatializer-for-objects/20857)

<div class="topic-metadata">

**Author:** [@stevenbrent](https://qa.fmod.com/u/stevenbrent)\
**Replies:** 4\
**Last updated:** [November 9, 2023, 12:05pm UTC](https://qa.fmod.com/t/fmod-for-non-diegetic-sound-unity-spatializer-for-objects/20857 "2023-11-09T12:05:02Z")

</div>

I’m just getting started with FMOD and am wondering if it’s realistic to use it just for non-spatialized soundtrack elements, while also using the Unity spatializer / sound system for environmental sounds – including obs…

---

## [Getting Current Event Waveform information/volume](https://qa.fmod.com/t/getting-current-event-waveform-information-volume/18771)

<div class="topic-metadata">

**Author:** [@regularfriend](https://qa.fmod.com/u/regularfriend)\
**Replies:** 7\
**Last updated:** [November 9, 2023, 12:04am UTC](https://qa.fmod.com/t/getting-current-event-waveform-information-volume/18771 "2023-11-09T00:04:58Z")

</div>

Hey, In previous Unity projects, I’ve sampled an audio source’s current waveform volume (the amplitude of the waveform at the time its currently playing essentially, post effects/ect) and piped it into a simple ‘talker’…

---

## [3dAttributes not updating?](https://qa.fmod.com/t/3dattributes-not-updating/20842)

<div class="topic-metadata">

**Author:** [@thelebaron](https://qa.fmod.com/u/thelebaron)\
**Replies:** 1\
**Last updated:** [November 4, 2023, 5:19am UTC](https://qa.fmod.com/t/3dattributes-not-updating/20842 "2023-11-04T05:19:53Z")

</div>

I’m working on a very simple attempt to integrate fmod with my dots project. Ive got events playing via guid, but it doesnt seem like I’m able to update the 3d attributes using instance.set3DAttributes() foreac…

---

## [I have lots of 3D events in my scene in unity, will it take up CPU or memory when player cannot hear them?](https://qa.fmod.com/t/i-have-lots-of-3d-events-in-my-scene-in-unity-will-it-take-up-cpu-or-memory-when-player-cannot-hear-them/20655)

<div class="topic-metadata">

**Author:** [@Kenken0615](https://qa.fmod.com/u/Kenken0615)\
**Replies:** 4\
**Last updated:** [November 2, 2023, 3:31am UTC](https://qa.fmod.com/t/i-have-lots-of-3d-events-in-my-scene-in-unity-will-it-take-up-cpu-or-memory-when-player-cannot-hear-them/20655 "2023-11-02T03:31:24Z")

</div>

I place lots of 3d events in my scene, these events will be loaded when players enter this scene. I am worried about the memory and cpu usage if these events will be played all the time whether players can hear them or n…

---

## [Update Studio Listener reference to Attenuation Object at run time](https://qa.fmod.com/t/update-studio-listener-reference-to-attenuation-object-at-run-time/20820)

<div class="topic-metadata">

**Author:** [@ant\_fmod](https://qa.fmod.com/u/ant_fmod)\
**Replies:** 4\
**Last updated:** [November 1, 2023, 7:54am UTC](https://qa.fmod.com/t/update-studio-listener-reference-to-attenuation-object-at-run-time/20820 "2023-11-01T07:54:49Z")

</div>

Hello there I have a particular use case whereby the player character instance is destroyed and recreated at runtime based on a different prefab. The player character is used as the Attenuation Object on the default St…

---

## [Video player API audio help after first video](https://qa.fmod.com/t/video-player-api-audio-help-after-first-video/20803)

<div class="topic-metadata">

**Author:** [@flag74](https://qa.fmod.com/u/flag74)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 1:40am UTC](https://qa.fmod.com/t/video-player-api-audio-help-after-first-video/20803 "2023-10-30T01:40:47Z")

</div>

Hi, I’m using the code below to forward to Audio to FMOD and it works as espected. https://www.fmod.com/docs/2.02/unity/examples-video-playback.html My issue is that I’m unable to reset fmod correctly and being it abl…

[Previous page](https://qa.fmod.com/c/unity/7.md?page=27)

[Next page](https://qa.fmod.com/c/unity/7.md?page=29)
