Steam shipping build only works when adding steam_appid.txt
Following the wiki, packaging the project as a Shipping build requires you to copy over the Steam SDK dlls in your packaged project's Binaries/ThirdParty/Steamworks.
These are the only instructions I've found on the hub, so I did that.
But apparently, that's not enough because I needed to add a steam_appid.txt containing the number '480' for Steam's universal test appID for it to work. (work meaning the Steam overlay shows up and I can create/join sessions)
Is this normal? I thought this was an automated process when the .exe was built. Why does adding a simple steam_appid.txt in 'ProjectName/Binaries/Win64/' make it work all of a sudden as a Shipping project?
However, a Development packaged project works straight away without needing to copy over Steamworks DLLs at all or adding a steam_appid.txt
I know we discussed this elsewhere, but someone pointed out this post to me, so I figured I'd update it in case anyone else has the same question.
The steam_appid.txt file is just a text file with the steam appid assigned from Steam in it. It's required to be in the game root folder when running with Steam. In non-shipping builds, it's generated automaticallly and deleted when the engine shuts down gracefully, but it needs to be manually created for Shipping builds. The engine uses the SteamDevAppId value when it generates the file.
The steam_appid.txt file is only required for Shipping builds that are not run through Steam, so it's really only a development thing. This isn't intended to be released with the game; after properly uploading and instrumenting your build through Valve AND launching from the Steam client, the text file is no longer necessary. The Valve SDK site might have more information on why it's necessary for development. Oh, and it is required when distributing dedicated server builds.
That said, it's harmless to distribute it, especially now while you're using the 480 testing appID.
Additionally with Shipping builds currently, you'll sometimes need to run it through the Steam client to get the Steam Overlay to show up. You can do this by adding a non-steam game to your library and opening it from there.
Hope that helps!
answered Feb 05 '16 at 03:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here