# Unity

**URL:** https://qa.fmod.com/c/unity/7.md?no_subcategories=false&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

---

## [Unity3D 2022 - Linux PopOs Not Sound Play](https://qa.fmod.com/t/unity3d-2022-linux-popos-not-sound-play/20888)

<div class="topic-metadata">

**Author:** [@stalkerman2010](https://qa.fmod.com/u/stalkerman2010)\
**Replies:** 2\
**Last updated:** [December 6, 2023, 11:06am UTC](https://qa.fmod.com/t/unity3d-2022-linux-popos-not-sound-play/20888 "2023-12-06T11:06:57Z")

</div>

Please help, there is no sound in the unity editor. According to the logs in Linux, it can be seen that the sound is sent to the HDMI port and not to the main port of the audio card as other applications do. ScreenShoot …

---

## [Delay over Bluetooth with Fmod 2.02.09 on Hwawei mobile](https://qa.fmod.com/t/delay-over-bluetooth-with-fmod-2-02-09-on-hwawei-mobile/20927)

<div class="topic-metadata">

**Author:** [@zhangheng](https://qa.fmod.com/u/zhangheng)\
**Replies:** 5\
**Last updated:** [December 6, 2023, 3:59am UTC](https://qa.fmod.com/t/delay-over-bluetooth-with-fmod-2-02-09-on-hwawei-mobile/20927 "2023-12-06T03:59:15Z")

</div>

Huawei mobile phones with Bluetooth headsets have a delay of 0.5-0.6s

---

## [FMOD Event Reference Updater crashes on classes with a BlobAssetReference\<Unity.Physics.Collider\> member](https://qa.fmod.com/t/fmod-event-reference-updater-crashes-on-classes-with-a-blobassetreference-unity-physics-collider-member/20939)

<div class="topic-metadata">

**Author:** [@gtzpower1](https://qa.fmod.com/u/gtzpower1)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 3:00am UTC](https://qa.fmod.com/t/fmod-event-reference-updater-crashes-on-classes-with-a-blobassetreference-unity-physics-collider-member/20939 "2023-12-06T03:00:04Z")

</div>

I wanted to report that the FMOD Event Reference Updater crashes if my project has a BlobAssetReference\<Unity.Physics.Collider\> member in any of the MonoBehaviours that are assigned to a game object. Here is an example …

---

## [Destroying event instance due to event description unload](https://qa.fmod.com/t/destroying-event-instance-due-to-event-description-unload/20941)

<div class="topic-metadata">

**Author:** [@hilster](https://qa.fmod.com/u/hilster)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 2:31am UTC](https://qa.fmod.com/t/destroying-event-instance-due-to-event-description-unload/20941 "2023-12-06T02:31:01Z")

</div>

I have music in my game that I want to play across scenes so I have it attached to an object that’s DontDestroyOnLoad. This works for the first scene change but when it gets to the second scene change I get this warning …

---

## [PreviewEvent works for custom programmer events, but only sometimes](https://qa.fmod.com/t/previewevent-works-for-custom-programmer-events-but-only-sometimes/20908)

<div class="topic-metadata">

**Author:** [@lgarczyn](https://qa.fmod.com/u/lgarczyn)\
**Replies:** 6\
**Last updated:** [December 5, 2023, 9:54am UTC](https://qa.fmod.com/t/previewevent-works-for-custom-programmer-events-but-only-sometimes/20908 "2023-12-05T09:54:34Z")

</div>

So I have custom AI voiceover tools in the editor for prototyping, and it requires previewing them from the editor: if (Application.isPlaying) { \_eventInstance = RuntimeManager.CreateInstance(eventPa…

---

## [ERR\_OUTPUT\_INIT when clean-building on a headless machine](https://qa.fmod.com/t/err-output-init-when-clean-building-on-a-headless-machine/20880)

<div class="topic-metadata">

**Author:** [@AndrewFray](https://qa.fmod.com/u/AndrewFray)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 9:07am UTC](https://qa.fmod.com/t/err-output-init-when-clean-building-on-a-headless-machine/20880 "2023-12-01T09:07:50Z")

</div>

we’re using an aws windows machine connected to jenkins to make builds of our game. we’ve noticed that on a clean sync, the resulting build won’t function correctly, and will throw a ton of fmod errors, including not fi…

---

## [Confirming capabilities on Nintendo Switch (including Oculus Spatializer)](https://qa.fmod.com/t/confirming-capabilities-on-nintendo-switch-including-oculus-spatializer/20933)

<div class="topic-metadata">

**Author:** [@KassonCrooker](https://qa.fmod.com/u/KassonCrooker)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 6:28am UTC](https://qa.fmod.com/t/confirming-capabilities-on-nintendo-switch-including-oculus-spatializer/20933 "2023-12-01T06:28:30Z")

</div>

Hi all, I’ve been developing an audiogame (aka no visuals) for PC/Mac on Steam, with the game built in: Unity 2021.3 FMOD version is 2.02.13 Oculus integration package version is 55 ONSP (spatializer) version is 1.79.…

---

## [LocalParameter property drawer](https://qa.fmod.com/t/localparameter-property-drawer/20929)

<div class="topic-metadata">

**Author:** [@redwyre](https://qa.fmod.com/u/redwyre)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 4:37am UTC](https://qa.fmod.com/t/localparameter-property-drawer/20929 "2023-12-01T04:37:22Z")

</div>

While integrating FMOD into our project at Salty Games, I created a property drawer to set up parameters in the property inspector, used like this: public EventReference engineIdleEvent; \[LocalParamRef(nameof(engineIdle…

---

## [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…

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

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