UndecorratedConfig option breaks packaging for most platforms

Hi! We are trying to make our binaries undecorated - so that they look the same regardless of the platform and configuration. I have found an option for this in Unreal - UndecorratedConfig. It does exactly what we expect and works fine for Win builds. But, unfortunately all our others platforms (IOS, Mac, Android) fail to package in Shipping configuration with this option. Is there a way to fix that in our Engine fork or maybe some other approach to make binaries undecorated?

The exact error is different on each platform but here are some of them:

Mac:

INFO:root:ditto: Cannot get the real path for source '/Users/admin/ba/tc/work/dev/game/Binaries/Mac/ProjectName-Mac-Shipping' INFO:root:Command PhaseScriptExecution failed with a nonzero exit code INFO:root: INFO:root:** BUILD FAILED **Android

Can't make an APK without the compiled .so [game\Binaries\Android\ProjectName-Android-Shipping-arm64.so]

Steps to Reproduce
Add the following line to the project Target.cs file. Try to package an Android (or IOS/Mac) build. The package will fail with the error.

bOverrideBuildEnvironment = true; UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;

Hi Andrey,

We can confirm the behaviour and are investigating a fix.

Best regards.

Hi Andrey,

This appears to be resolved in 5.5. If you are still on 5.3 and require integration, please let us know.

Best regards.

Hi [Content removed]

Thanks for the update, we have just migrated to 5.5. We will test this flag again, and I will post back.

Best Regards.

Sounds good Andrey.

Best regards.