# Master.strings.bank doesn't always contain the correct paths to events

**URL:** <https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [February 2, 2023, 8:58pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823 "2023-02-02T20:58:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmiCioca](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EmiCioca](https://qa.fmod.com/u/EmiCioca)\
**Post date:** [February 2, 2023, 8:58pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/1 "2023-02-02T20:58:36Z")

</div>

FMOD Studio version: 2.02.11 64-bit Build#130436  
FMOD Studio UE4 Plugin: 2.02.11

My team is running into an issue where the Master.strings.bank will sometimes report that some events are at the root of the project, instead of within their current folders. This is causing the FMOD plugin for Unreal to think that assets were removed (since they aren’t in the strings bank with the correct folder path), and a prompt is shown to delete the corresponding UAssets in Unreal when starting the editor:

 ![Prompt](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/35c9876634f9370bd1a6eada7a108cfa0aa10d60.png)

Re-exporting the string bank generates the correct event paths again, but at that point it has already caused a lot of friction for other team members and on our build machine.

This often occurs to assets that aren’t actively being worked on, so we’re not sure what the root cause of the issue is.

I was debugging in `FMODStudioEditor\Private\FMODAssetBuilder.cpp` to determine what has been happening. I found that `LookupRowName` was correctly `event:/Music/TV_***`. After updating the banks (again, with unrelated changes to this event), `LookupRowName` was `event:/TV_***` instead.

Any help would be greatly appreciated! Thank you for your time 🙂

---

<div class="post-metadata">

**Author:** ![EmiCioca](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EmiCioca](https://qa.fmod.com/u/EmiCioca)\
**Post date:** [February 2, 2023, 9:00pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/2 "2023-02-02T21:00:18Z")

</div>

In FMOD Studio the event is not in the root directory:

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

---

<div class="post-metadata">

**Author:** ![EmiCioca](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EmiCioca](https://qa.fmod.com/u/EmiCioca)\
**Post date:** [February 2, 2023, 9:00pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/3 "2023-02-02T21:00:48Z")

</div>

Correct result when debugging:  
 ![CorrectPath](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/75d0b68e61a57537869954ab33f8041695c9b644.png)

---

<div class="post-metadata">

**Author:** ![EmiCioca](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EmiCioca](https://qa.fmod.com/u/EmiCioca)\
**Post date:** [February 2, 2023, 9:01pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/4 "2023-02-02T21:01:21Z")

</div>

Incorrect result caught after a bank update:  
 ![WrongPath](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/bdc478c5222b1c627ee6983413ee62c4839d4e7f.png)

---

<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:** [February 6, 2023, 12:58am UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/5 "2023-02-06T00:58:27Z")

</div>

It sounds like it could be caused by conflicting strings banks or Asset/BankLookup files in source control.

Do you currently have the generated assets checked in to source control? If so then removing them from source control should resolve this, although you will need to use the [Commandlet](https://fmod.com/docs/2.02/unreal/user-guide.html#commandlet) to rebuild them on your build machine.

---

<div class="post-metadata">

**Author:** ![EmiCioca](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@EmiCioca](https://qa.fmod.com/u/EmiCioca)\
**Post date:** [February 6, 2023, 5:13pm UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/6 "2023-02-06T17:13:28Z")

</div>

We do have our \*.bank files in source control, but all generated UAssets and the banklookup are auto-generated locally for each team member.

All our tracked FMOD assets in Unreal’s content folder:  
 ![SourceControl_UnrealContent](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/64b1044cabd3b8f6965572b47ad46ba0698599e4.png)

Just set up the commandlet for the build machine, thank you! However I don’t know if that’ll make a difference for the individuals just using the editor and getting the deletion prompts. As far as I can tell the issue is occurring before anything reaches Unreal and all that configuration.

---

<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:** [February 14, 2023, 12:22am UTC](https://qa.fmod.com/t/master-strings-bank-doesnt-always-contain-the-correct-paths-to-events/19823/7 "2023-02-14T00:22:54Z")

</div>

I haven’t been able to reproduce this locally so far. Is it possible that the event was previously in the root folder and there are different versions of the strings bank being checked in?

The line `StaleAssets.Remove...` is using information directly from the strings bank so it has to be related to the strings bank it is finding on disk.
