PlayFab with MirrorVR
MirrorVR PlayFab Setup Guide
It is strongly recommended not to use PlayFab with MirrorVR, as it compromises the primary purpose of MirrorVR: security.
Introduction
PlayFab, owned by Microsoft Azure, is one of the most popular player management backends for Unity.
Setup
Here's how to set up PlayFab with MirrorVR! This guide will be from scratch and shown in a new project.
Ensure you've fully set up MirrorVR, using Getting Started, and either Meta Quest Setup and/or Steam Setup.
Now, go to Assets/MirrorVR/Extensions/PlayFab/Prefabs and drag the MirrorVR PlayFab prefab into the scene somewhere.
At this time, MirrorVR PlayFab does not log in for you; you need to log in yourself via another script.
Select the prefab in your scene, then hit the Shared Settings button in the inspector of the script to set up your PlayFab.
Once you have opened PlayFab Shared Settings, fill out the Title ID.
Do NOT fill out the developer secret key, as it allows bad actors to do ANYTHING in the Admin or Server API, such as editing cloudscript, giving players items, deleting or banning/unbanning all player accounts, or even deleting the entire title itself.
Now, go to the Network Manager, go to the MirrorVR Manager inspector, and change your inventory service from EOS Player Data Storage to PlayFab.
And you're all set to use PlayFab in your MirrorVR game!
Last updated