Unity: Setup #

This tutorial covers setting up the Pragma SDK for Unity, including initialization, login, and making API calls to the Pragma backend.

Getting started with Pragma requires setting up a free trial process with our team. Reach out via the main site to get started!

SDK Compatibility #

The Pragma SDK has been compatibility tested with the following versions.

SDKVerified Versions
Unreal Engine4.27, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6
Unity2021.3.16f1

Prerequisites #

  • Local Pragma Engine development environment

 

TopicDescription
Set Up Unity ProjectSet up your Unity project.
Set Up the Unity SDKSet up your development environment and the Pragma SDK for Unity.
Create Initial Files and ObjectsCreate initial resources.
Initialize Pragma ServicesInitialize Pragma services in Unity.
Authenticate with SteamImport Steamworks.NET, get a Steam Web API key and App ID, and log into Pragma Engine with Steam.
Invite Steam FriendsCreating a Pragma Engine party and inviting friends to join via Steam.
Authenticate with DiscordImport the Discord SDK into Unity, get a Client ID and Client Secret, and log in to Pragma Engine with Discord.