# Ignored files shown as modified content

**URL:** <https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471>\
**Category:** Unreal Engine\
**Tags:** ue5\
**Created:** [January 2, 2025, 4:11pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471 "2025-01-02T16:11:21Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![RiyoGames](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@RiyoGames](https://qa.fmod.com/u/RiyoGames)\
**Post date:** [January 2, 2025, 4:11pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/1 "2025-01-02T16:11:21Z")

</div>

Hello,  
I followed the guide on FMOD documentation page to setup the p4ignore:

```auto
# FMod Content
*/Content/FMod/Banks
*/Content/FMod/Buses
*/Content/FMod/Events
*/Content/FMod/PrivateIntegrationData
*/Content/FMod/Reverbs
*/Content/FMod/Snapshots
*/Content/FMod/VCAs

# FMod Plugin, override ignore aka include binaries
!*/Plugins/FMODStudio/Binaries/*
!*/Plugins/FMODStudioNiagara/Binaries/*

```

Above are the lines from our p4ignore file to properly ignore the auto-generated uassets.  
We are facing issues with Unreal Editor still showing these uassets as something that’s modified/need to be added.

Every time a user tries to “Submit Content” from the bottom-right “Revision Control” option in the editor, the engine goes through a discovery process of finding modified assets.

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

Once done, it shows this window with a bunch of FMOD event uassets in that list.

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

This is very cumbersome to skim and uncheck those FMOD events before submitting.

Also, we currently only allow specific members on the team to make changes to the bank and the source audio assets are not in the same path as the project.

Couple of notes:

1. If the user has navigated to the folder where FMOD events are, those FMOD events show up in the list. The list grows as the user navigates through different folders which have FMOD events, sort of like “discovering” the FMOD events.
2. Trying to submit without unchecking the FMOD events doesn’t actually add the events to the changelist.
3. The “FMod” word in the p4ignore is not ALL caps, but changing this made no difference locally.

Looking to hear from you.  
Thank you.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 7, 2025, 12:55am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/2 "2025-01-07T00:55:59Z")

</div>

Hi,

Thank you for the detailed post.

The issue may be that the paths in your project are `/Game/FMOD/Events` while the `.p4ignore` path is `*/Content/FMod/Banks`. If this path is updated does the issue persist?

---

<div class="post-metadata">

**Author:** ![RiyoGames](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@RiyoGames](https://qa.fmod.com/u/RiyoGames)\
**Post date:** [January 7, 2025, 4:02pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/3 "2025-01-07T16:02:24Z")

</div>

Hello Connor,

Thank you for your reply.

If I change the path to `/Game/FMOD/Events`, it may fix the editor, but it will affect tracking done through perforce directly, i.e., checking out files through the perforce visual client.

Are you suggesting that we add both lines to the .p4ignore?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 8, 2025, 11:38pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/4 "2025-01-08T23:38:29Z")

</div>

I think the files in the .p4ignore need to exactly match the files that you want to be ignored. If you try to check out files in the visual client that are part of the p4ignore list you should see a similar error:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/75ddd5496d20a31c0516a839eff7820f39d826d0.png)  
[HelixCore Docs | Managing Fiels - Ignore files with P4IGNORE](https://help.perforce.com/helix-core/server-apps/p4v/current/Content/P4V/ignore-files.html).

Please let me know if I am misunderstand the issue.

Thanks

---

<div class="post-metadata">

**Author:** ![RiyoGames](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@RiyoGames](https://qa.fmod.com/u/RiyoGames)\
**Post date:** [January 14, 2025, 5:54pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/5 "2025-01-14T17:54:58Z")

</div>

The screenshot in the original post with the path “/Game/FMOD/Events” looks misleading but its not, as Unreal automatically shows asset paths relative to the project root. Unreal Editor shows file paths under Content folder as " /Game/\* "  
It is how the editor was made.

The original issue only happens with FMOD files as they are auto-generated on Editor open but located under " Content/FMOD " aka " Game/FMOD/ " (in Unreal Editor terms)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 20, 2025, 2:59am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/6 "2025-01-20T02:59:18Z")

</div>

Thank you for the information.

I created a test project and added the FMOD integration with the following ignore file

```auto
######################
## FMOD Integration ##
######################
UETest/Plugins/FMODStudio
!UETest/Plugins/FMODStudio/Binaries
!UETest/Plugins/FMODStudio/Content
!UETest/Plugins/FMODStudio/Source
!UETest/Plugins/FMODStudio/FMODStudio.uplugin

##############################
## FMOD Niagara Integration ##
##############################
UETest/Plugins/FMODStudioNiagara
!UETest/Plugins/FMODStudioNiagara/Binaries
!UETest/Plugins/FMODStudioNiagara/Content
!UETest/Plugins/FMODStudioNiagara/Source
!UETest/Plugins/FMODStudioNiagara/FMODStudioNiagara.uplugin

##################
## FMOD Content ##
##################
UETest/Content/FMOD
!UETest/Content/FMOD/Desktop

```

I was more explicit with my paths to make sure I was identifying the correct files/directories. With this set up I had no issues. I made sure that the paths were exactly the same, including capitalization:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2c10c4edb7bc3f3f848282d750219dd2c6ac9da7.png)  
I also ignored everything in the `UETest/Content/FMOD` directory, then made sure to include the desktop file. I have found this catches anything I may have missed rather than manually setting ignore paths.

Could you please try updating the P4 ignore and deleting any of the files that should not be part of the repo and let me know if the issues persists?

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 21, 2025, 2:12am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/7 "2025-01-21T02:12:11Z")

</div>

I’ve been experiencing this issue for a long while, thought it was just me doing something wrong but it appears not.

@Connor_FMOD After you set `UETest/Content/FMOD` in the ignore, did you reopen Unreal? Whenever I try I end up with unreal trying to mark the generated files for add. That happens with ‘/Game/FMOD/Events’ or any possible combination of that path.

I think it could be an Unreal issue where they aren’t respecting the ignore file for assets generated during launch.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 21, 2025, 2:43am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/8 "2025-01-21T02:43:20Z")

</div>

Hi,

Thank you for the information.

Even in UE I am not seeing any of the events being marked for addition. Would it be possible to see your `.p4ignore` file and the events being added to a change list in UE?

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 21, 2025, 2:51am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/9 "2025-01-21T02:51:59Z")

</div>

Thanks for getting back to me so quickly.

Thats strange you don’t see them get marked for add, did you open the Events folders and look at the files? If you don’t have those folders open when you open the project they don’t get added. As soon as you start looking in any of the FMOD related folders Unreal “sees” them for the 1st time and tries to add them.

Attached is an image of the Revision Control submit screen and my ignore file.

Something of interest is that the Content/FMOD/ and !/Content/FMOD/Desktop lines are making the ignore file work correctly in the Perforce GUI. If I try to mark for add there I get the same “The following files were not marked for add…” pop up as you showed above.

 ![generatedfmodfiles](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f333f0ccf5a53eb7c1865d8a6c7592b0b05923f6.png)  
[p4ignore.txt](https://qa.fmod.com/uploads/short-url/qNFnW7hyAl2OjUxl08cPWoYDQ4x.txt) (1.2 KB)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 21, 2025, 5:39am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/10 "2025-01-21T05:39:01Z")

</div>

Thank you for the screenshot and the ignore file. I noticed my `ignored` files are marked with a `?` in the UE editor:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7d6fa3aee233c6b76a6ac71db3e2308d1151dbe4.png)  
Do you see the same?

When I try to manually add an event I see the following error in the logs: `SourceControl: Error: CommandMessage Command: MarkForAdd, Error: C:\Source\scm\depot\UETest\Content\FMOD\Events\Weapons\Pistol.uasset - ignored file can't be added. `

I found I had to have my `.p4ignore` file at the root of my depo. Maybe that may help?

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 21, 2025, 1:11pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/11 "2025-01-21T13:11:30Z")

</div>

I was seeing ? at one point but similar to the OP here they still showed up in the change list after clicking on Submit in UE. For some reason now they are all immediately showing + symbols and being marked for add. No matter what I put in my ignore file.

If I go into the change list in unreal and revert all the fmod generated files it shows a ? again on them.

edit: after some more messing around I was able to get the same ? symbols back in the UE submit window and I got the same error when trying to submit them as you did.

I guess that sort of solves it but there is some sort of problem considering the others having the same issue and how much fiddling it took to get it working.

Also yeah, my p4ignore is in the root of the project.

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

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 21, 2025, 4:41pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/12 "2025-01-21T16:41:07Z")

</div>

Oh, this appears to be the same issue but with SVN. [Cannot ignore Generated Assets from SVN (Tortoise) - #6 by Leah\_FMOD](https://qa.fmod.com/t/cannot-ignore-generated-assets-from-svn-tortoise/22040/6)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 22, 2025, 1:46am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/13 "2025-01-22T01:46:27Z")

</div>

Thank you for the photo and the information.

I think another issue was we were submitting change lists differently.

I was opening the `View Changes` window:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/0bcd2d497a820eb1f9a5cba89df6e76f36267eac.png)  
And then selecting the CL from there to submit rather than clicking the `Submit Content` button from the `Revision Control` menu:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2cd792b97d3befee9986aeb2d3922c309a7d54ce.png)

Which I believe just grabs everything that has been touched which can include `ignored` files:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b60377e786ad9b5e1c40725ec673892ece0c59b9.png)  
`SourceControl: Error: CommandMessage Command: MarkForAdd, Error: C:\Source\scm\depot\UETest\Content\FMOD\Buses\SFX\Ambience.uasset - ignored file can't be added.`

If you open a specific change list do you see the FMOD event trying to be added?

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 22, 2025, 4:24pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/14 "2025-01-22T16:24:34Z")

</div>

You’re right, in the View Changes list they don’t show up. How strange! I will let my team mates know. Thanks!

---

<div class="post-metadata">

**Author:** ![Srolfe657](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Srolfe657](https://qa.fmod.com/u/Srolfe657)\
**Post date:** [January 24, 2025, 4:03am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/15 "2025-01-24T04:03:39Z")

</div>

Hi again, I think I may have found a much better way to do this instead of using the p4ignore file. I found a thread from a while ago, with you in it actually haha, where the OP said they had their p4 admin “do something” to exclude the generated files but they were vague. That’s when it clicked that I could set up the p4 stream to exclude them and it seems to be working perfectly.

Any idea if this is going to break everything? If not I feel like letting people know that its an option in the docs may be beneficial.

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

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [January 27, 2025, 11:04pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/16 "2025-01-27T23:04:31Z")

</div>

Nice! That looks good, I would suggest adding the exempt files as well to make sure that the required files are not excluded e.g.

```plaintext
!Content/FMOD/Desktop
!Plugins/FMODStudio/Binaries
## ALL THE OTHERS ## 

```

The rest can be found here: [Unreal Integration | User Guide - Source Control](https://fmod.com/docs/2.02/unreal/user-guide.html#source-control).

Thank you for continuing to work on this! If there is anything else we can do to assist please do not hesitate to ask!

---

<div class="post-metadata">

**Author:** ![RiyoGames](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@RiyoGames](https://qa.fmod.com/u/RiyoGames)\
**Post date:** [February 11, 2025, 7:16pm UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/17 "2025-02-11T19:16:10Z")

</div>

Thank you for looking into this.

I suspect this may be an engine issue.  
[5.1 - Perforce Integration - Shows ignored files in Content Folders - General / Feedback & Requests - Epic Developer Community Forums](https://forums.unrealengine.com/t/5-1-perforce-integration-shows-ignored-files-in-content-folders/744429/4)

We haven’t been able to verify the solution suggested on this thread above, yet.

Will update this when we do.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 12, 2025, 12:19am UTC](https://qa.fmod.com/t/ignored-files-shown-as-modified-content/22471/18 "2025-02-12T00:19:20Z")

</div>

Thank you!
