# Steam Integration not working in Shipping Build

**URL:** <https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431>\
**Category:** Platform & Builds\
**Tags:** package, onlinesubsystem, Steam, build, Shipping, unreal-engine, question\
**Created:** [December 26, 2015, 9:53am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431 "2015-12-26T09:53:36Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [December 26, 2015, 9:53am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/1 "2015-12-26T09:53:36Z")

</div>

I have a game I successfully packaged a Shipping Builds of with Engine version 4.10.0. Steam integration worked perfectly fine when launching as standalone game from editor and also when launching packaged shipping build. Since a couple weeks (I’m pretty sure this correlates with update to 4.10.1), steam integration no longer works in packaged shipping build. Standalone game still works perfectly fine, but when packaging as shipping build, there is no steam overlay, no steam username, nothing. Can anyone confirm that this is a bug in 4.10.1, or did I just break something on my end?

Current workaround:  
Package game as development build, there everything works as expected, but of course with side effects of using a development build rather than a shipping build (increased binary size etc).

Thanks in advance,  
Elewyth

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_da3ca307](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_da3ca307](https://forums.unrealengine.com/u/anonymous_user_da3ca307)\
**Post date:** [December 28, 2015, 5:31pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/2 "2015-12-28T17:31:31Z")

</div>

Same here ☹

---

<div class="post-metadata">

**Author:** ![Pierdek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pierdek](https://forums.unrealengine.com/u/Pierdek)\
**Post date:** [December 28, 2015, 7:07pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/3 "2015-12-28T19:07:46Z")

</div>

Are you cooking on computer with installed visual studio 2013/2015 ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 28, 2015, 10:27pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/4 "2015-12-28T22:27:55Z")

</div>

Hi Elewyth,

There’s a known issue with Shipping Builds not displaying Steam Overlay when they’re not launched using Steam client (UE-23238) that has not yet been resolved.

Three questions:

- Are you running on a Mac? [Online Subsystem Steam Interface in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Programming/Online/Steam/index.html#steamoverlayonmac)
- If on a PC, and you open the .exe through Steam client as described in link above, does Steam Overlay appear?
- Are you otherwise able to connect, and it’s just Overlay that’s missing, or is there additional functionality missing as well?

---

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [December 29, 2015, 11:41am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/5 "2015-12-29T11:41:05Z")

</div>

Hello ,

Thanks for your answer.

- I am running on Windows 10 and building with Visual Studio 2015 (it’s a C++ project).
- I have not tried that yet, will do as soon as I get home, and post an update
- Finding game sessions does not work and PlayerState-\>PlayerName displays “Player” instead of Steam-Username, which makes me believe that all Steam functionality is completely missing

As mentionend, I will post an update on whether there is a difference when launching the .exe through Steam client. I probably should also mention, that I’m simply working with developer App-Id (480), and not a “real” app-id.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_da3ca307](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_da3ca307](https://forums.unrealengine.com/u/anonymous_user_da3ca307)\
**Post date:** [December 29, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/6 "2015-12-29T19:32:56Z")

</div>

“Add a Non-Steam Game to My Library” gives me steam overlay  
but still not Steam username.

Running my Game on win7 pro, engine 4.10.1, Visual Studio 2015 and Steamv135

---

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [December 31, 2015, 3:46pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/7 "2015-12-31T15:46:56Z")

</div>

I can confirm what deweka has experienced. Launching Shipping-packaged game from within steam client shows steam overlay, but actual steam functionality of online subsystem is still missing.

Win10, UE 4.10.1, VS 2015 and Steam v135.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 31, 2015, 5:13pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/8 "2015-12-31T17:13:26Z")

</div>

Okay, I believe source of problem for both of you may be that you’re using Steam v135, and 4.10 only supports v132. If you’ve downloaded binary, this should be installed already, but if you’ve built from source you’ll need to make sure you’re integrating correct version.

App-Id 480 should work with a Shipping build without problems, at least for showing correct player info.

I just tested in binary 4.10 with default v132, and a Shipping build for Win64, if added to Steam Client Library, shows overlay with player information as expected (Shift+Tab uses player’s profile info for Friends, etc).

There’s a separate issue I’m currently investigating with 4.10.1 in which testing Steam connection on same machine no longer works (it did in previous versions), but does across separate machines. Create Session works, but Find Session does not.

Can you confirm if same problems occur when using v132 instead of 135? It’s probably best to test in binary first, rather than attempt to replace files in your current build, just to ensure we’re on same page. See if player information is correct, and test to see if Find/Join Session works across different machines rather than on same machine. Let me know what happens. Thanks!

---

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [December 31, 2015, 8:50pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/9 "2015-12-31T20:50:13Z")

</div>

I’m sorry, I kinda misread my steamworks version, I am, in fact, already using v132 (one included in engine). I am using a source version of engine, since I also need to cross-compile for Linux; but I also experience exact same problems if I package with normal binary release of UE.

Yes, Steam overlay works perfectly fine when I launch packaged game from steam client. What doesn’t work, is session finding and displaying steam-name in-game. (i.e. APlayerState::PlayerName always displays “Player”). Session creation seems to work, but I guess it just defaults back to null subsystem to create game session, so you don’t really see that it isn’t working.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [December 31, 2015, 8:52pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/10 "2015-12-31T20:52:46Z")

</div>

Have you followed these steps for installing Steamworks SDK in your source build (substituting all references with v132)?

> **[Online Subsystem Steam](https://docs.unrealengine.com/5.1/en-US/online-subsystem-steam-interface-in-unreal-engine/)**
>
> An overview of Online Subsystem Steam, including how to set up your project for distribution on Valve's Steam platform.

Have you tested this on multiple machines?

---

<div class="post-metadata">

**Author:** ![Elewyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elewyth](https://forums.unrealengine.com/u/Elewyth)\
**Post date:** [January 1, 2016, 11:09am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/11 "2016-01-01T11:09:13Z")

</div>

Yes, everything should be setup properly.

I created a very sparse project from scratch, showcasing problem I am experiencing. All it does, is include steam online subsystem and display player name in-game.

Experienced behavior:

- Play in editor: Displays a name such as “MyPC-123456789” (expected)
- Play as Standalone Game: Displays steam name such as “Elewyth” (expected)
- Package Win64 as Development displays steam name, as well (expected)
- Package Win64 as Shipping displays “Player” (unexpected)

I have tested this on 2 machines, both running Windows 10. behavior is exactly same on both. Build was done using UE 4.10.1 downloaded with Epic Games Launcher and without any modifications, on both PCs.

I hope you can reproduce this bug on your end with project provided.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [January 2, 2016, 9:32pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/12 "2016-01-02T21:32:07Z")

</div>

Okay, it appears there are two bugs here:

1. Create Session doesn’t work in packaged projects that use C++, whether it is added to a content-only project or project begins as a C++ project. This affects projects whether using Development or Shipping builds. It was reported as UE-24814, and I’ll be adding some notes from this post to report and alerting networking devs as soon as they’re back from vacation, as it seems pretty serious.
2. PlayerName does not appear to work correctly in Shipping builds. In a content-only (BP) project, I get “MyPC-12345…” and in a C++ project I simply get “Player”, as you’ve reported. difference may be related to bug described above, but either way isn’t correct. I’ve entered this as a separate bug, UE-24849

I’ll update this post if I see any change in either bug. Thanks for diving further into this with me!

---

<div class="post-metadata">

**Author:** ![WAII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WAII](https://forums.unrealengine.com/u/WAII)\
**Post date:** [April 10, 2016, 10:53am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/13 "2016-04-10T10:53:42Z")

</div>

Hi,  
actualy its just that you missing your “app\_id.txt”.  
In all other builds expect shipping this will be created when you start executable.  
In shipping build, you need to put it in yourself.  
It goes to: Projectname\Binaries\Win64 (for 64bit)  
then just create a file with name “app\_id.txt”.  
put your app id inside.  
480 for testing, if you dont have your own yet.  
Then it will work.

Hope this Helps  
Christoph

---

<div class="post-metadata">

**Author:** ![Pierdek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pierdek](https://forums.unrealengine.com/u/Pierdek)\
**Post date:** [April 10, 2016, 11:02am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/14 "2016-04-10T11:02:13Z")

</div>

Correct name of that file is “steam\_appid.txt”, besided you don’t need to put that file in final build if you are injecting Steam DRM to binary.

---

<div class="post-metadata">

**Author:** ![WAII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WAII](https://forums.unrealengine.com/u/WAII)\
**Post date:** [April 10, 2016, 11:14am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/15 "2016-04-10T11:14:16Z")

</div>

Sorry, you are right, “steam\_appid.txt” is correct name.

---

<div class="post-metadata">

**Author:** ![Em4Russ0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/em4russ0/32/710746_2.png) [@Em4Russ0](https://forums.unrealengine.com/u/Em4Russ0)\
**Post date:** [June 7, 2021, 5:19pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/16 "2021-06-07T17:19:37Z")

</div>

Can you please clarify “You don’t need to put that file in final build” ?  
Does it mean that I need it to Launch that build Before uploading it to Steam, but when I upload it via SteamCmd I have to exclude it? So when I test build from Steam Client it should just work?

---

<div class="post-metadata">

**Author:** ![Em4Russ0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/em4russ0/32/710746_2.png) [@Em4Russ0](https://forums.unrealengine.com/u/Em4Russ0)\
**Post date:** [June 7, 2021, 9:30pm UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/17 "2021-06-07T21:30:02Z")

</div>

For those who are still confused like I was, here’s precise explanation from [Steam](https://partner.steamgames.com/doc/sdk/api):

SteamAPI\_RestartAppIfNecessary  
SteamAPI\_RestartAppIfNecessary checks if your executable was launched through Steam and relaunches it through Steam if it wasn’t.

This is optional but highly recommended as Steam context associated with your application (including your App ID) will not be set up if user launches executable directly. If this occurs then SteamAPI\_Init will fail and you will be unable to use Steamworks API.  
If you choose to use this then it should be first Steamworks function call you make, right before SteamAPI\_Init.

If this returns true then it starts Steam client if required and launches your game again through it, and you should quit your process as soon as possible. This effectively runs steam://run/ so it may not relaunch exact executable that called this function (for example, if you were running from your debugger). It will always relaunch from version installed in your Steam library folder.

Otherwise, if it returns false, then your game was launched by Steam client and no action needs to be taken. One exception is if a steam\_appid.txt file is present then this will return false regardless. This allows you to develop and test without launching your game through Steam client. Make sure to remove steam\_appid.txt file when uploading game to your Steam depot!

---

<div class="post-metadata">

**Author:** ![jacksonnexhip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacksonnexhip/32/494650_2.png) [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Post date:** [January 15, 2023, 7:26am UTC](https://forums.unrealengine.com/t/steam-integration-not-working-in-shipping-build/342431/18 "2023-01-15T07:26:50Z")

</div>

Worked, BUT title of the .txt file needed to be “steam\_appid.txt” - not name listed in chosen solution.
