Hello I was wondering if there is already made code or a walkthrough for completely inplementing login with playfab in my unity game because I have read all the getting started and login with playfab articles but they just give me variables and classes but I’m rather new to unity and just don’t understand the coding aspect if there is any code I can copy and paste or a tutorial for specifically logging in with playfab that would be great because I’m building the game mainly for windows and don’t have a plan for android or iOS so I don’t need the logon with device ID
Thank you
Answer by Jay Zuo · Dec 10, 2018 at 02:51 AM
If you don't need login with device Id, you can try with LoginWithCustomID like what in the Unity Getting Started. However, please note that you must determine how to generate unique Custom IDs for any other device or platform. Custom ID is an effective alternative for other platforms or devices, but you must generate your Custom IDs with care. Too simple, and you risk hackers stealing the accounts of others. For more info, please see https://api.playfab.com/docs/tutorials/landing-players/best-login.
Besides, LoginWithCustomId is an anonymous login mechanism, you may also need a recoverable login mechanism. There are a lot of options, I'd suggest you check the Authentication section under https://api.playfab.com/docs/tutorials/#landing-players. And the PlayFab Video Tutorials - Authentication Series might also help you.
PlayFab Authentication to Photon Error 2 Answers
Link With Facebook Question/Problem,Unity LoginWithDevice then Linking With Facebook Question 1 Answer
Unreal Engine 4 "Unable to contact server" 2 Answers
Automatically Login to Playfab account on game reboot? 1 Answer
Facebook Login: Error when logging in a test account 1 Answer