Skip to main content

Play test - Login with single platform auth - (Unreal Engine module)

Last updated on July 15, 2026

Login with Steam

  1. First, disable the bAutoLogin in the Config/DefaultEngine.ini file, so the player is able to click the button to log in.

    [/ByteWars/TutorialModule.AuthEssentials]
    bAutoLogin=false
  2. Compile and open the project in Unreal Editor. Then, go to Edit > Editor Preferences > Level Editor > Play. Under the Play in Standalone Game section, add the launch parameter below in the Additional Launch Parameters field. This launch parameter tell the game to use the Steam build target AccelByteWarsSteam.Target.cs the Config/Custom/Steam/DefaultEngine.ini file to run the game.

    -target=AccelByteWarsSteam -customconfig=Steam
  3. Ensure that you have Steam running and are logged in. Play your game in Standalone Game mode.

    Play game in standalone mode preview

  4. Click the Login with Steam button. If your implementation is correct, you will navigate to the Main Menu.

Login with Epic Online Services (EOS)

  1. First, disable the bAutoLogin in the Config/DefaultEngine.ini file, so the player is able to click the button to log in.

    [/ByteWars/TutorialModule.AuthEssentials]
    bAutoLogin=false
  2. Compile and open the project in Unreal Editor. Then, go to Edit > Editor Preferences > Level Editor > Play. Under the Play in Standalone Game section, add the launch parameter below in the Additional Launch Parameters field. This launch parameter tell the game to use the Steam build target AccelByteWarsEOS.Target.cs the Config/Custom/EOS/DefaultEngine.ini file to run the game.

    -target=AccelByteWarsEOS -customconfig=EOS
  3. If you publish your game to the Epic Games Launcher, the game will log in through the launcher. However, in this tutorial, you are testing the game from Unreal Editor, so you need to use the launch parameter -AUTH_TYPE=AccountPortal to open the EOS Account Portal. You can learn more about EOS auth launch parameter and EOS auth credential types from the official Epic Online Services documentation. To add the launch parameter, go to Edit > Editor Preferences > Level Editor > Play. Under the Play in Standalone Game section, add the launch parameter below in the Additional Launch Parameters field. Your final launch parameter must look like this.

    -target=AccelByteWarsEOS -customconfig=EOS -AUTH_TYPE=AccountPortal
  4. Next, play your game in Standalone Game mode.

    Play game in standalone mode preview

  5. Click the Login with EOS button. If your implementation is correct, you will navigate to the Main Menu.

Automatic login

  1. For automatic login, follow the steps mentioned in the previous sections based on which platform you need. However, you need to enable the bAutoLogin in the [ByteWars/TutorialModule.AuthEssentials] section of the Config/DefaultEngine.ini file.

    [/ByteWars/TutorialModule.AuthEssentials]
    bAutoLogin=true
  2. Next, compile and open the project in Unreal Editor. Ensure that you have run the platform launcher (e.g. Steam, Epic Games Launcher). Play your game in Standalone Game mode. If your implementation is correct, you will be automatically log in and navigate to the Main Menu.

    Play game in standalone mode preview

Resources