Build failed in 4.18: LNK1181 on UE4-LoginFlow.lib
My project uses Steam Online Subsystem. Compiled/packaged just fine in 4.16, but now in 4.18 I get the following error when packaging for Windows 64-bit:
UATHelper: Packaging (Windows (64-bit)): [4/4] Link MyProject.exe UATHelper: Packaging (Windows (64-bit)): LINK : fatal error LNK1181: cannot open input file 'W:\Games_W\UE4-418\UE-4.18\Engine\Plugins\Online\OnlineFramework\Binaries\Win64\UE4-LoginFlow.lib' UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: W:\UE4_PROJECTS_NEW\MyProject\Binaries\Win64\MyProject.exe
I looked in that folder linked above and there's no UE4-LoginFlow.lib file there. Though there is a UE4Editor-LoginFlow.dll. Looking through previous versions of UE4, I can't find this .lib file there either, but it doesn't seem to cause any errors on those versions. Is it a new 4.18 thing?
I tried verifying my 4.18 install, and tried copying all my assets to a new blank project. Still the same issue. The only plugins I am using are Online Subsystem, OnlineSubsystem Steam, and all the associated plugins for that.
Any ideas on what the issue might be? I'd like to keep this project in 4.18 to take advantage of all the neat stuff that came out with it.
asked Oct 31 '17 at 06:34 AM in Packaging & Deployment
Well, I think I fixed it.
I had the plugin "Online Framework Plugin" ticked. I thought it was required by the main Online Subsystem plugin, like Online Subsystem Utils. Turns out, however, it is not required to run Steam, at least.
So I disabled that plugin, restarted the editor, and it all appears to work now. The game communicates with Steam and gets the overlay. Haven't tried creating/joining sessions yet -- gonna do that next. But it appears to build now, at least!
Hope this is helpful to someone who runs into the same issue -- I wonder, then, what is the proper use of Online Framework Plugin, if it crashes builds instantly?
answered Nov 01 '17 at 05:11 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here