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 devices

Many 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:

  • How can I make sure my app doesn’t register a player using multiple devices as different players?
  • How can I make sure a player is able to continue the progress of their game on any device?

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 network

Game 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:

  • How can I build and test my made-with-Unity multiplayer game securely?
  • Is there a multiplayer backend option I can use to create a consistent tech stack?

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 game

Consider 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:

  • How can I get a better understanding of which players to group in lobbies, parties, or matches in my multiplayer game?
  • How do I implement authentication for parties so that a player’s identity is known in the group?

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 economy

Some 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:

  • How can I prevent players from using other peoples’ logins?
  • How can I use Authentication as a tool to counter cheating and unfair gameplay?

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 players

Live 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:

  • How can I roll out an update to a player who has created a profile in my game?
  • Is it possible for me to increase engagement and game loyalty by rewarding a regular player with limited edition items, or offering daily check-in prizes to a sporadic player?

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 milestones

The 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:

  • Is it possible for me to reward a player for achieving game milestones with certain daily limits, like giving up to one reward a day to a player for completing a level?
  • How can I balance giving players a reward at a pace that will engage them with the game and motivate them to keep playing?

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.