[4.18.1] Shipping build fails due to missing file UE4-LoginFlow-Win64-Shipping.lib

Our project fails to build in the shipping configuration at the linking stage. This is due to the file UE4-LoginFlow-Win64-Shipping.lib missing from the directory …\UE_4.18\Engine\Plugins\Online\OnlineFramework\Binaries\Win64.

Hello JanH,

Does this only happen in one particular project or for any project that you attempt to package? Does this only happen when trying to package for Shipping and not for Development? Please provide log files from the packaging attempt where this error occurs.

Hello Matthew,

Thanks for your reply. This happens only for our own project, I can package ShooterGame without any issues. I have not yet tried to package for development, but it seems like this is related to the OnlineFramework plugin. Juding by the file list in “…\UE_4.18\Engine\Plugins\Online\OnlineFramework\Binaries\Win64” this may not fail for development builds.

I cannot attach the UAT log, but the important lines are as follows:

ProcessResult.StdErr:   [142/142] Link Game-Win64-Shipping.exe
ProcessResult.StdOut:   LINK : fatal error LNK1181: Eingabedatei "E:\Epic Games\UE_4.18\Engine\Plugins\Online\OnlineFramework\Binaries\Win64\UE4-LoginFlow-Win64-Shipping.lib" kann nicht geöffnet werden.
ProcessResult.StdErr:   ERROR: UBT ERROR: Failed to produce item: E:\Projekte\KMF\project\Game\Binaries\Win64\Game-Win64-Shipping.exe

If you need to, please post the log on Pastebin or a file hosting site. While those lines are indeed important, there is much more information that can be gathered from the full log, especially since this specific to your one project.

While it’s not an acceptable workaround of course, have you tried temporarily disabling the OnlineFramework plugin (if you’re not using it) to see if the packaging attempt can at least succeed?

Linking works while the OnlineFramework plugin is disabled. 4.18.2 was just released and it comes with the file which was previously missing. Now linking works as well when the OnlineFramework plugin is enabled. So we can close this one off as fixed.

Thanks for your help.

Hi sorry to bother you , I have the same problem (with another plugin called PerceptionNeuron) but OnlineFramework is already disabled. The .lib in question is present before packaging and deleted in the meanwhile. The plugins works fine with every other project but the one where I need it. If you could spare some seconds to look at my own question it would be nice LINK : fatal error LNK1181: cannot open file ..\UE4-PerceptionNeuronRuntime.lib' - Platform & Builds - Unreal Engine Forums