SteamSharedModule Packaging Error

Hi, after following Steam Subsystem tutorial (Online Subsystem Steam | Unreal Engine 4.27 Documentation), downloading new SDK and then replacing the files im having an issue packaging my project for Windows - “SteamSharedModule.cpp.obj : error LNK2019: unrecognized external symbol __imp_SteamAPI_Init referenced in function “public: __cdecl FSteamClientInstanceHandler::FSteamClientInstanceHandler(class FSteamSharedModule *)” (??0FSteamClientInstanceHandler@@QEAA@PEAV FSteamSharedModule@@@Z)
UATHelper: Packaging (Windows (64-bit)): SteamSharedModule.cpp.obj : error LNK2019: unrecognized external symbol __imp_SteamInternal_GameServer_Init referenced in function 'public: __cdecl FSteamServerInstanceHandler::FSteamServerInstanceHandler(class FSteamShared Module *)” (??0FSteamServerInstanceHandler @@QEAA@PEAVFSteamSharedModule@@@Z)"

Does anyone understand what it means and whats going on? Or how can i get my old files/setup back?

Steam SDK version too new, use a old version

1 Like

How do you know which older version to use, though? And how does one acquire an older version (doesn’t Steam only offer up the newest SDK?)?

I’m getting these fatal errors too and it’s the one thing stopping me from packaging and moving on.

Have you found any solutions to this? I know you just posted a couple days ago, I’m running into the same issue though and thought I’d check.

Yep, found a solution. Ironically, I always find a solution a few minutes after posting here b/c YT is a far better, more active Unreal forum than the actual Unreal forums (this place is a ghost town!). I don’t know how all these devs have the time to sit around waiting weeks/months for simple solutions.

Basically, just delete the Steam SDK version you injected into your Unreal Engine installation folder, then verify Unreal Engine’s files (so it’ll reinstall the Steam SDK version it originally came with), then follow this guy’s 50-second tutorial to a T: Steamworks SDK SPEEDRUN (Tutorial) For Unreal Engine 4 & 5 (OnlineSubsystem) (youtube.com)

In short, verifying the files will kick your UE install back to SteamSDK v153, and then all will be well. Just ignore Epic’s official documentation and follow the YouTube guy. Because that’s the state this engine’s in.

2 Likes

How to reinstall the original steamworks that came with me?