# Compile error with UE 5.6.1

**URL:** <https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237>\
**Category:** Unreal Engine\
**Tags:** cpp, ue5\
**Created:** [August 14, 2025, 3:00am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237 "2025-08-14T03:00:40Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![EternalStarlight](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@EternalStarlight](https://qa.fmod.com/u/EternalStarlight)\
**Post date:** [August 14, 2025, 3:00am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/1 "2025-08-14T03:00:40Z")

</div>

Hello,

I moved to the latest version of the engine (5.6.1) and using version 2.03.09 of the Unreal Integration prevents compilation. It is related to a mistype in the generated FMODCallbackHandler source file

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

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

---

<div class="post-metadata">

**Author:** ![EternalStarlight](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@EternalStarlight](https://qa.fmod.com/u/EternalStarlight)\
**Post date:** [August 14, 2025, 3:09am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/2 "2025-08-14T03:09:51Z")

</div>

I found a solution in replacing the plugin’s Intermediate folder with the downloaded copy. It may be due to the fact that the mistake exists in the Linux version of the plugin (I have a Windows host but package for Linux).

---

<div class="post-metadata">

**Author:** ![EternalStarlight](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@EternalStarlight](https://qa.fmod.com/u/EternalStarlight)\
**Post date:** [August 19, 2025, 1:57pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/3 "2025-08-19T13:57:55Z")

</div>

Will there be an update for this issue? It is breaking compilation of my project and while it is a simple fix, it is annoying and repetitive.

---

<div class="post-metadata">

**Author:** ![Zufixx](https://avatars.discourse-cdn.com/v4/letter/z/b4bc9f/32.png) [@Zufixx](https://qa.fmod.com/u/Zufixx)\
**Post date:** [August 19, 2025, 6:53pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/4 "2025-08-19T18:53:16Z")

</div>

I get this too on Windows. If I delete the Intermediate folder, FMODCallbackHandler.gen.cpp is simply recreated again with the same error. It should be FMODCallbackHandler.h, but I can’t find where it changes it…

---

<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:** [August 21, 2025, 4:09am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/5 "2025-08-21T04:09:32Z")

</div>

We are currently looking into this.

It appears that the Engine is generating an incorrect header file path, as far as I can tell it is something that was introduced in UE5.6.1 and likely related to [UE-295700](https://github.com/EpicGames/UnrealEngine/commit/ddd515cbf9aa2a28314854fbbe64716df34f0dcc).

---

<div class="post-metadata">

**Author:** ![BasBertrand](https://avatars.discourse-cdn.com/v4/letter/b/e8c25b/32.png) [@BasBertrand](https://qa.fmod.com/u/BasBertrand)\
**Post date:** [August 22, 2025, 12:10pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/6 "2025-08-22T12:10:16Z")

</div>

We experience the same problem here with FMOD 02.03.09 after upgrading to UE5.6.1. FMODCallbackHandler.gen.cpp isn’t generated properly. It would be great to have a solution to this, as it’s now preventing us from upgrading the engine.

---

<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:** [August 27, 2025, 4:33am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/7 "2025-08-27T04:33:49Z")

</div>

There is an issue in the engine caused by [UE-295700](https://github.com/EpicGames/UnrealEngine/commit/ddd515cbf9aa2a28314854fbbe64716df34f0dcc). Due to the `FMODCallbackHandler.h` file being in the same directory as the folder named `FMOD,`and that folder being added to the `PublicIncludePaths`in the Build.cs, when the UHT attempts to generate a .cpp for the header it chops the front of the filepath off thinking that it’s a relative directory path.

Even if our naming convention isn’t ideal and may not be expected, the fact that they are just string comparing the front of the path without checking if it’s a directory doesn’t seem great.

We have a workaround for this which will go out in the next release. In the next major FMOD version we will likely remove the old file completely.

> <https://github.com/fmod/fmod-for-unreal/pull/83/files>

---

<div class="post-metadata">

**Author:** ![jmccormicksae](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jmccormicksae](https://qa.fmod.com/u/jmccormicksae)\
**Post date:** [August 27, 2025, 1:43pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/9 "2025-08-27T13:43:03Z")

</div>

Hey , I temporarily fixed this to allow it to compile by renaming the file from FMODCallbackHandler.h to CallbackHandlerFMOD.h and adjusting the .generated.h reference to #include “CallbackHandlerFMOD.generated.h” within the file.

As mentioned the UHT is removing the “FMODC” part of the filepath - I assume the C is chopped because it assumes an extra character after the FMOD (i.e. FMOD/).

Maybe I’m simple minded but it worked… 😃

---

<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:** [August 27, 2025, 11:28pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/10 "2025-08-27T23:28:44Z")

</div>

That is also a valid solution and one we contemplated, a problem we always need to worry about is compatibility with projects that are updating FMOD versions and changing the name could break any project which is already using it. Which is why we moved it, so that the name doesn’t change, and redirected the old file to the new one in case that one gets used.

> [@jmccormicksae](#):
>
> As mentioned the UHT is removing the “FMODC” part of the filepath - I assume the C is chopped because it assumes an extra character after the FMOD (i.e. FMOD/).

💯

---

<div class="post-metadata">

**Author:** ![bobbyem](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bobbyem](https://qa.fmod.com/u/bobbyem)\
**Post date:** [October 13, 2025, 1:15pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/11 "2025-10-13T13:15:50Z")

</div>

I just spent a couple of days working on a gamejam game using 5.6 and I did a test-package of my game and FMOD made it fail. I’ve tried a bunch of things but the only thing that helped was to remove everything that had to do with FMOD.

I’ve already spent lot of time on making the Events for my game so I would like to get this working. I don’t really understand how to fix it like mentioned above. When I try to add the Plugins into a test project I get The following modules are missing or built with a different engine version:

“FMODStudio  
FMODStudioEditor  
FMODStudioNiagara

Would you like to rebuild them now?”

But then it fails at building them.

---

<div class="post-metadata">

**Author:** ![RobMPostal](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@RobMPostal](https://qa.fmod.com/u/RobMPostal)\
**Post date:** [October 13, 2025, 9:36pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/12 "2025-10-13T21:36:43Z")

</div>

would that version be .03.1? Or would that be .04? If so would that still work on UE 5.6.1? We are currently version locked. So if it is in 5.7+ that would just be good to know.

---

<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:** [October 15, 2025, 3:18am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/13 "2025-10-15T03:18:25Z")

</div>

It sounds like you may be trying to compile the plugin from Github, which does not contain any libs.

First you need to get the integration from the [downloads](https://www.fmod.com/download#fmodforunreal) page and either modify the corresponding files to match github or replace the integration source files with the files from github.

See [2.12 Compiling the plugin (Optional)](https://fmod.com/docs/2.02/unreal/user-guide.html#compiling-the-plugin-optional).

---

<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:** [October 15, 2025, 3:20am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/14 "2025-10-15T03:20:47Z")

</div>

Our integration will contain a fix to work with UE 5.6.1 in the next release (2.03.10).

Epic have not yet commented on fixing this in the engine: [UHT #includes generating the incorrect path - #15 by RelaX92 - Pipeline & Plugins - Epic Developer Community Forums](https://forums.unrealengine.com/t/uht-includes-generating-the-incorrect-path/2601472/15)

---

<div class="post-metadata">

**Author:** ![dominik.weltenbauer](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dominik.weltenbauer](https://qa.fmod.com/u/dominik.weltenbauer)\
**Post date:** [October 15, 2025, 6:38pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/15 "2025-10-15T18:38:22Z")

</div>

Hi,  
I’m seeing this error as well. I think I will be going with the temporary fix suggested by **[jmccormicksae](https://qa.fmod.com/u/jmccormicksae).**  
Can you give an indication of when we can expect 2.03.10 if Epic doesn’t fix it?

Cheers  
Dominik

---

<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:** [October 21, 2025, 9:32pm UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/16 "2025-10-21T21:32:46Z")

</div>

All I can say is “soon”, as the release still needs to pass our internal QA.

---

<div class="post-metadata">

**Author:** ![dominik.weltenbauer](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dominik.weltenbauer](https://qa.fmod.com/u/dominik.weltenbauer)\
**Post date:** [October 23, 2025, 8:00am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/17 "2025-10-23T08:00:56Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![osome](https://avatars.discourse-cdn.com/v4/letter/o/ee59a6/32.png) [@osome](https://qa.fmod.com/u/osome)\
**Post date:** [November 18, 2025, 11:43am UTC](https://qa.fmod.com/t/compile-error-with-ue-5-6-1/23237/18 "2025-11-18T11:43:11Z")

</div>

As i’m using multiple version of Unreal, to test migration, it’s not straightforward to use newer FMod versions, and update the FMod plugin code (for all platforms) to 5.6 while keeping 5.5 working fine.

So, as wrong unreal generation create a line “#include “allbackHandler.h””

_a **temp fix** _ was to create a file called “allbackHandler.h” containing a single line : #include “FModCallbackHandler.h”

Dirty but it works.
