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)
| Topic | Description | 
|---|---|
| Set Up the Unreal SDK | Set up your development environment and the Pragma SDK for Unreal. | 
| Create Player Controller and Blueprint | Create a C++ player controller and associated blueprints. | 
| Handle Login and Logout | Create the login script and try logging in. | 
| Initialize Pragma Services | Initialize Pragma services upon login. | 
| Authenticate with Steam | Integrate Pragma and your Unreal project with Steam. | 
| Authenticate with Discord | Integrate Pragma and your Unreal project with Discord. | 
| Authenticate with Twitch | Import the Twitch SDK into Unreal, get a Client ID and Client Secret, and log into Pragma Engine with Twitch. | 
| Troubleshooting | Troubleshooting common issues with Unreal Editor. |