# FMOD Event Reference Updater Hang

**URL:** <https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993>\
**Category:** Unity\
**Tags:** unity\
**Created:** [May 30, 2025, 8:14pm UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993 "2025-05-30T20:14:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.wasilenko](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@justin.wasilenko](https://qa.fmod.com/u/justin.wasilenko)\
**Post date:** [May 30, 2025, 8:14pm UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/1 "2025-05-30T20:14:20Z")

</div>

When using the FMOD Event Reference Updater it will hang and stop responding the Unity editor when arriving at the Odin Validator/Editor/Profiles/Main Profile.asset during the ScriptableObjects pass.

I am using Fmod 2.03.07 and Unity 6000.0.42. Might be an Odin issue not sure.

Perhaps it would be nice to Context menu option to scan specific folders so we could skip folders that don’t commonly have references to fmod events stored in them?

Side note, is there a way to combin Odin Validator with Fmod when looking for references?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 10, 2025, 1:11am UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/2 "2025-06-10T01:11:13Z")

</div>

Thanks for reporting this issue, and we are currently looking into this.

> [@justin.wasilenko](#):
>
> Side note, is there a way to combin Odin Validator with Fmod when looking for references?

These are two separate plugins which are not aware of each other or their contained types, it’s not something that would be doable.

---

<div class="post-metadata">

**Author:** ![GiftedMamba](https://avatars.discourse-cdn.com/v4/letter/g/ea5d25/32.png) [@GiftedMamba](https://qa.fmod.com/u/GiftedMamba)\
**Post date:** [July 21, 2025, 6:47am UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/3 "2025-07-21T06:47:20Z")

</div>

It would be great if we have possibility to exclude some assets and folders from update process, or select working directory. I am also ran in the similar problem with FInd Reference 2 asset, Unity hangs when FMOD tries to scan search cache of this asset. It probably too big or something weird happens under the hood. Usually I have separate folder for all my game stuff, I think there is no need for FMOD to scan whole project.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 30, 2025, 4:09am UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/4 "2025-07-30T04:09:01Z")

</div>

Thanks for the feedback, I have added that information to our internal task related to the Event Reference Updater slowness/hanging.

---

<div class="post-metadata">

**Author:** ![justin.wasilenko](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@justin.wasilenko](https://qa.fmod.com/u/justin.wasilenko)\
**Post date:** [March 4, 2026, 7:15pm UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/5 "2026-03-04T19:15:55Z")

</div>

I was getting fed up with this still being a problem, so I made a workaround. Instead of scanning the whole assets directory which is time consuming and results in this hang. I added a Search Folder field so you can quickly scan a folder instead of the whole project.

I’m posting it here in case it helps anyone else.\*\*

1. Replace the hardcoded `SearchFolders` field:\*\*

csharp

```auto
// BEFORE:
private readonly string[] SearchFolders = {
    "Assets",
};

// AFTER:
[SerializeField]
private string searchFolder = "Assets";

```

**2. Add a folder picker to `OnGUI`, just above the bottom buttons around line 2100:**

csharp

```auto
// Folder picker — add this just before the "// Buttons" section in OnGUI()
using (new EditorGUILayout.HorizontalScope())
{
    EditorGUILayout.LabelField(L10n.Tr("Search Folder"), GUILayout.Width(EditorGUIUtility.labelWidth));
    EditorGUILayout.LabelField(searchFolder, EditorStyles.textField);

    if (GUILayout.Button(L10n.Tr("Browse…"), GUILayout.Width(70)))
    {
        string selected = EditorUtility.OpenFolderPanel(
            L10n.Tr("Select Folder to Scan"), searchFolder, string.Empty);

        if (!string.IsNullOrEmpty(selected))
        {
            // Convert absolute path to project-relative (must start with "Assets")
            if (selected.StartsWith(Application.dataPath))
            {
                searchFolder = "Assets" + selected.Substring(Application.dataPath.Length);
            }
            else
            {
                EditorUtility.DisplayDialog(
                    L10n.Tr("Invalid Folder"),
                    L10n.Tr("Please select a folder inside the project's Assets directory."),
                    L10n.Tr("OK"));
            }
        }
    }

    if (GUILayout.Button(L10n.Tr("Reset"), GUILayout.Width(50)))
    {
        searchFolder = "Assets";
    }
}

```

**3. Update `SearchProject()` to use the field instead of the old array:**

csharp

```auto
// BEFORE:
string[] prefabGuids = AssetDatabase.FindAssets("t:GameObject", SearchFolders);
string[] sceneGuids = AssetDatabase.FindAssets("t:Scene", SearchFolders);
string[] scriptableObjectGuids =
    AssetDatabase.FindAssets("t:ScriptableObject", SearchFolders).Distinct().ToArray();

// AFTER:
string[] searchFolders = new[] { searchFolder };
string[] prefabGuids = AssetDatabase.FindAssets("t:GameObject", searchFolders);
string[] sceneGuids = AssetDatabase.FindAssets("t:Scene", searchFolders);
string[] scriptableObjectGuids =
    AssetDatabase.FindAssets("t:ScriptableObject", searchFolders).Distinct().ToArray();

```

* * *

---

<div class="post-metadata">

**Author:** ![Ultroman](https://avatars.discourse-cdn.com/v4/letter/u/258eb7/32.png) [@Ultroman](https://qa.fmod.com/u/Ultroman)\
**Post date:** [May 28, 2026, 9:46pm UTC](https://qa.fmod.com/t/fmod-event-reference-updater-hang/22993/6 "2026-05-28T21:46:44Z")

</div>

I fixed it. Link: [My post about how to fix it](https://qa.fmod.com/t/unity-fmod-reference-updater-takes-15minutes-to-scan/22119/28)
