Caution: Fraudulent or imitation websites may appear. Only this site is official. Report concerns on our Report Fraud page.
PlayFab is a backend service used by many VR games to handle player accounts, data, currency, inventory, bans, analytics, and more.
This page introduces how PlayFab works, why it’s essential for VR fangames, and how to integrate it into your project.
What PlayFab Does
PlayFab provides the backend systems your game needs:
Player authentication
Player data storage
Virtual currency
Inventory & cosmetics
CloudScript (server logic)
Moderation tools
Title Data (global configs)
Analytics & events
Photon authentication
These systems allow your game to scale, stay secure, and sync data across devices.
Why VR Fangames Use PlayFab
Saves player progress
Stores cosmetics and unlocks
Handles bans and moderation
Syncs stats across sessions
Works with Photon for multiplayer
Removes the need for your own servers
PlayFab is free for small games, making it perfect for indie VR developers.
What You Need Before Starting
A PlayFab account
A Title ID
Unity PlayFab SDK installed
Basic C# knowledge
A VR project already set up
How PlayFab Works in Your Game
Player opens the game
Game logs them into PlayFab
PlayFab returns their PlayFabID
Game loads their data (currency, items, stats)
Player joins Photon
Photon uses PlayFabID for identity
Game saves progress back to PlayFab
This is the standard flow for most VR fangames
PlayFab Features You’ll Learn
This page connects to deeper subpages that explain each system:
Getting Started
Authentication
Player Data
Virtual Currency
Inventory System
CloudScript
Moderation Tools
Title Data
Analytics
Photon + PlayFab Linking
Each subpage teaches you how to implement that system step‑by‑step.
Best Practices
Never store sensitive data on the client
Use CloudScript for secure operations
Keep your secret key private
Use Title Data for global settings
Test API calls in small steps
Log errors to PlayFab for debugging
Common Uses in Gtag‑Style Games
Saving cosmetics
Unlocking badges
Tracking player stats
Managing bans
Storing room codes
Syncing player names
Handling in‑game currency
Logging events for analytics