# Android package ERROR on FMOD 2.03.01 + UE 5.4.1 + Windows

**URL:** <https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626>\
**Category:** FMOD Engine\
**Created:** [May 15, 2024, 8:04pm UTC](https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626 "2024-05-15T20:04:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davaidev](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@davaidev](https://qa.fmod.com/u/davaidev)\
**Post date:** [May 15, 2024, 8:04pm UTC](https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626/1 "2024-05-15T20:04:06Z")

</div>

Hi guys!

When we package a project for Android in UE5.4.1 on Windows, the build is interrupted by an error.

[70/376] Compile [arm64] FMODAudioLinkInputClient.cpp (0:04.76 at +0:04)  
In file included from C:/Gitlab-Runner/builds/xXQQrCzna/0/nakamoto/HS/HSClient/Plugins/FMODStudio/Source/FMODAudioLink/Private/FMODAudioLinkInputClient.cpp:1:  
In file included from C:/Gitlab-Runner/builds/xXQQrCzna/0/nakamoto/HS/HSClient/Plugins/FMODStudio/Intermediate/Build/Android/a/UnrealGame/Development/FMODStudio/PCH.FMODStudio.h:3:  
In file included from C:/Gitlab-Runner/builds/xXQQrCzna/0/nakamoto/HS/HSClient/Plugins/FMODStudio/Source/FMODStudio/Private/FMODStudioPrivatePCH.h:4:  
In file included from Runtime/Core/Public/CoreMinimal.h:28:  
In file included from Runtime/Core/Public/Misc/AssertionMacros.h:14:  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(112,3): error: static\_assert failed due to requirement ‘bFmtStrErr\<UE::Core::Private::FormatStringSan::TAtArgPos\<1\>\>’ “‘%l’ expects integral arg (eg. char, int, long, etc.)”  
FMT\_STR\_ERR(StatusLNeedsIntegerArg, “‘%l’ expects integral arg (eg. char, int, long, etc.)”);  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(93,5): note: expanded from macro ‘FMT\_STR\_ERR’  
static\_assert(bFmtStrErr, Description);   
^ ~~~~~~~~~~~  
C:/Gitlab-Runner/builds/xXQQrCzna/0/nakamoto/HS/HSClient/Plugins/FMODStudio/Source/FMODAudioLink/Private/FMODAudioLinkInputClient.cpp(147,9): note: in instantiation of template class ‘UE::Core::Private::FormatStringSan::TPresentErr\<15\>::TErrMsg\<UE::Core::Private::FormatStringSan::TAtArgPos\<1\>\>’ requested here  
UE\_LOG(LogFMODAudioLink, Verbose, TEXT(“Sound Created: %s , Consumer = %” PRIu64 “.”), \*sourceName, ConsumerPtr);  
^  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/Logging/LogMacros.h(240,3): note: expanded from macro ‘UE\_LOG’  
UE\_PRIVATE\_LOG(PREPROCESSOR\_NOTHING, constexpr, CategoryName, Verbosity, Format, ## **VA\_ARGS** )  
^  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/Logging/LogMacros.h(275,3): note: expanded from macro ‘UE\_PRIVATE\_LOG’  
UE\_VALIDATE\_FORMAT\_STRING(Format, ## **VA\_ARGS** );   
^  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(20,36): note: expanded from macro ‘UE\_VALIDATE\_FORMAT\_STRING’  
#define UE\_VALIDATE\_FORMAT\_STRING UE\_CHECK\_FORMAT\_STRING  
^  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(12,10): note: expanded from macro ‘UE\_CHECK\_FORMAT\_STRING’  
(void) UE\_FMT\_STR\_Status{};   
^  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(112,3): error: static\_assert failed due to requirement ‘bFmtStrErr\<UE::Core::Private::FormatStringSan::TAtArgPos\<0\>\>’ “‘%l’ expects integral arg (eg. char, int, long, etc.)”  
FMT\_STR\_ERR(StatusLNeedsIntegerArg, “‘%l’ expects integral arg (eg. char, int, long, etc.)”);  
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
C:/Program Files/Epic Games/UE\_5.4/Engine/Source/Runtime/Core/Public/String/FormatStringSan.h(93,5): note: expanded from macro ‘FMT\_STR\_ERR’  
static\_assert(bFmtStrErr, Description);   
^ ~~~~~~~~~~~

FMOD v2.03.01 is used during the build.

Build settings in Target.cs:  
DefaultBuildSettings = BuildSettingsVersion.Latest;  
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;

If we pack the project with other settings, FMOD builds correctly, for example:  
DefaultBuildSettings = BuildSettingsVersion.V4;  
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;

---

<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:** [May 22, 2024, 1:59am UTC](https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626/2 "2024-05-22T01:59:16Z")

</div>

Thank you for reporting this issue, it does appear to be a bug in the integration for UE5.4. I have raised a task to fix this and hopefully we can get it out in the next release.

---

<div class="post-metadata">

**Author:** ![nivilla](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nivilla](https://qa.fmod.com/u/nivilla)\
**Post date:** [May 23, 2024, 11:54am UTC](https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626/3 "2024-05-23T11:54:58Z")

</div>

Hello, we have the same error, version 20222, but on Unreal Engine when building on PS4. Can you tell me how to solve the problem or when it will be solved? Thank you

---

<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:** [May 29, 2024, 3:55am UTC](https://qa.fmod.com/t/android-package-error-on-fmod-2-03-01-ue-5-4-1-windows/21626/4 "2024-05-29T03:55:55Z")

</div>

The fix for this will be going out in our next release, but for now you can find the fix on our github repo:  
[Fixed builds failing due to String Format. · fmod/fmod-for-unreal@513d95b · GitHub](https://github.com/fmod/fmod-for-unreal/commit/513d95bebd7f6862b43ba0de26798bae6f7b2159).
