Unity Authentication use cases
Unity Authentication easily integrates with the following Unity gaming services:
- Analytics
- Cloud Code
- Cloud Content Delivery
- Cloud Save
- Economy
- Lobby
- Matchmaker
- Relay
- Remote Config
- Vivox
Unity Authentication also supports multiple cross-platform use cases.
Here are a few examples of how to leverage Unity Authentication with other Unity products.
Keep up with a player across multiple devicesMany apps are cross-platform. As a result, a player might end up using their mobile device, a laptop, or tablet to use your app, switching it up as they wish. You can find out the following scenarios:
Use Cloud Save with Unity Authentication to set up sign-ins with platform accounts so the same player can sign in from Google, Facebook, Apple, or Steam and start playing again from where they left off from any device. |
Host your multiplayer game in a P2P networkGame development takes time and effort, and finding the tools to create and test it shouldn’t be time-consuming for a multiplayer game if you’re able to integrate and take advantage of Unity solutions. You can find out the following scenarios:
Use the Relay with Unity Authentication to identify individuals who are good game server hosts in a P2P environment, to implement peer-to-peer networking using authentication to build, test, and operate your multiplayer game without needing a third-party solution or a dedicated game server. |
Form compatible parties and lobbies in your multiplayer gameConsider how multiplay features should be implemented to encourage people to connect, be social, and play together safely and enjoyably. You can find out the following scenarios:
Use the Lobby and Matchmaker with Unity Authentication to securely allow players to anonymously authenticate, connect, communicate, and group up to play your game in a party. |
Protect your game economySome players will try to reap in-game rewards or in-app purchases by cheating or impersonating other players. Actions like these compromise your game economy as well as players' identities. You can find out the following scenarios:
Use Economy with Unity Authentication to set up authenticated sign-in in your game to associate unique tokens and an ID for each player which can’t be manipulated by anyone else. |
Implement data migration scripts for authenticated playersLive updates, bug fixes, and other administrative actions need planning to service in your game and often affect your players depending on the nature of the update, a player’s game client version, event triggers, and other backend factors. You can find out the following scenarios:
Use Cloud Code with Unity Authentication to target state updates or data migration through scripts to an authenticated player based on their game play, play frequency, and other behaviors. |
Reward players for in-game milestonesThe reward strategies you employ in your game to celebrate key accomplishments can impact your player behavior and how they perceive and play your game. Milestone rewards can tie a greater purpose and intention to a player’s gaming and encourage them to keep playing. You can find out the following scenarios:
Use Cloud Code, Cloud Save, and Economy with Unity Authentication to trigger a reward check script after a milestone (if a player finishes a level or match), store the last time the player received a reward, store the reward itself in the player’s inventory, and understand the player across services, respectively. |