Unreal plugin unable to compile (version 2.02.25)

Hi there! I am working on a project in UE 5.4.4 using version 2.02.25 of the plugin along with version 2.02.24 of FMOD Studio. I have a recurring issue where compiling my project will somehow prevent the FMODStudioModule and FMODUtils classes from compiling.

Specifically I’m getting the following errors:

The lines in question aren’t flagged with errors or warnings and it’s inconsistent when it happens. By that I mean, I could recompile my project both in my IDE and using Live Coding and it won’t happen, but the following day it will occur and completely derail my work. Is there something I’m missing here?

In testing with the early access version of the plugin, I was able to narrow down that the problem functions are the LogError defined in FMODStudioModule and FMODUtils. I am not sure of the exact issue but I do not get those issues when commenting out the call to FMODUtils definition within the verifyfmod define

#define verifyfmod(fn)                         \
    {                                          \
        FMOD_RESULT _result = (fn);            \
        if (_result != FMOD_OK)                \
        {                                      \
            /*FMODUtils::LogError(_result, #fn);*/ \
        }                                      \
    }

In the past we have seen similar problems when using Blueprint Nativization, although that has been removed in UE5.

Are you able to check the IDEs build output rather than the error list? In my experience the build output usually gives you much better information on the actual errors.

If I can find the logs with the compiler errors, I will share it but from my search history I was getting these error codes

  • Error C2062
  • Error C2059
  • Error C2923

What stood out the most was C2062 with ‘type ‘void’ unexpected’. As I said before, the error in particular related to the LogError function in FMODStudioModule as well as the implementation in FMODUtils.

The build output generally gives much better detail when building with Unreal Engine:

It seems like something else isn’t working and it’s causing the compiler to throw these errors, you could try downloading another copy of the integration in case something is missing/corrupted.

You could also double check the integration setup docs to see if anything may have been missed.
https://www.fmod.com/docs/2.02/unreal/user-guide.html#installing-the-integration