Unreal: Setup #

This tutorial covers setting up the Pragma SDK for Unreal, and handling login and logout procedures using Unreal source files for a player controller and game mode base class. The examples in this tutorial use Unreal Engine 5.3 and can be run against either a new Unreal C++ project or a preexisting one.

Prerequisites:

  • Local copy of Pragma Engine cloned and running (a full setup guide is available via the GitHub README, which is accessible once onboarding has started)
  • JetBrains Rider (recommended editor for Unreal Editor)
  • Appropriate Visual Studio C++ compiler installed with the Game development with C++ option selected (See Unreal documentation for compatible versions)
TopicDescription
Set Up the Unreal SDKSet up your development environment and the Pragma SDK for Unreal.
Create Player Controller and BlueprintCreate a C++ player controller and associated blueprints.
Handle Login and LogoutCreate the login script and try logging in.
Initialize Pragma ServicesInitialize Pragma services upon login.
Authenticate with SteamIntegrate Pragma and your Unreal project with Steam.
Authenticate with DiscordIntegrate Pragma and your Unreal project with Discord.
Authenticate with TwitchImport the Twitch SDK into Unreal, get a Client ID and Client Secret, and log into Pragma Engine with Twitch.
TroubleshootingTroubleshooting common issues with Unreal Editor.