Hello everyone i would like to implement my little game with user registration, including choosing username password email and email confirmation… in a professional way… but i can’t find a complete tutorial… many of these tutorials include the [playfab] others instead they are 2 or 3 years old and when I try them I often find deprecated functions… would you have any links that are right for me to help me create this quite up-to-date interface?? without using firebase I also wanted to ask what is playfab? google didn’t clarify much for me, I understand that it is a unity-type platform… did I understand correctly??
This question is too general imo. What do you want implement. If you want create login form just use any available tutorial on Youtube. Doesn’t matter if it is few years old.
e.g. Login and register system in Unity (UI) - Unity UI tutorial - YouTube
But what is more important what you want to happen after you click login or register. Because there is a tons of thinks what could happen. Maybe you want call some api and register in your database or you want save it in file?
It is really hard to think what you mean by “professional way” .
About the Playfab this is just backend api details are in this video. Basically if you create user and pw you need to store it somwhere and when you login you want to verify it over something.
Easy login/register account system in Unity - Playfab tutorial (#6) - YouTube
tnk for your answer
after you have registered it automatically goes to the main scene saving the access data… thanks to some tutorials already done I am able to create the details by myself … for example coins, objects and so on … by professional I mean with the details that even large companies use… such as choosing a username and verifying if no one else has already chosen it… such as email confirmation… in short, by professional I mean with the standard parameters required when let’s register for a new game… one of the things I didn’t understand is how to insert the objects collected in the database… I think it’s not difficult… but I’ll have to study these details better… in the tutorials that I found, as I said, they don’t have all these details but everyone does a bit as they think… there are those who only used the email and those who only use the username for registration… in addition, none of them gives you the possibility of being able to access with google mail … as often happens with video games … when you are asked during registration … “do you want to use your google account?”
I think most of things is done by API.
Register
1)You choose your login name and pw in your game UI
2)Those values are sent via HTTP request to some API ( In mentioned case it is Playfab)
3)User is registred in backend
4)Your account is created
Login
1)You enter correct values to Game UI
2)Your game send http request with your values
3)backend verify if those values are correct and let you in
This is a good video how these verification could work. But it is not related to Unity but to Spring boot. (Unity is not backend application to authenticate passwords or connect to db)
Basically you need some backend for this authentification.Probably Playfab is something very simple if you dont want build your own backend
Spring Boot and Spring Security with JWT including Access and Refresh Tokens - YouTube
Java Tutorial - Complete User Login and Registration Backend + Email Verification - YouTube
About Google account it is exactly same but you will not use Playfab api but Google api for authentification, however you will still need your own backend if you want store some additional values and that is why it doesnt make sense for me to use for example Google api for login and then your own database for storing other values.
Because if you use Google or Playfab api only for login and you store other data locally what point does it have to even login somwhere.
Normally it is done just like this Game → Api → Backend → Database
You of course can access your database with your values directly from your game but that is really not good. For example you really dont want to store unencrypted passwords in your db and so on.
ahh perfect… so this playfab is nothing but an api right?? because i only found news on microsoft of a paid program with google… now then first I look at the tutorials that you kindly sent me… in the meantime, thank you for your availability
I think Playfab is more then that.It is an API with backend what can handle things for you.Like multyplayer and so on.There is a to s ofvideos on youtube about it.
yes… now i check… and tnk you for your support soo glad
I’m getting very demoralized… everything in unity works against me… I’m trying the tutorial on playfab but it doesn’t work it sends me a warning message that multiplies infinitely “could not save compressepidata because playfabsettings could not be found.” playfab staff is aware of this but they just tell you to install the latest version… but I already have the latest version… and I don’t have any guides about it…
please help if you can
I am not really sure that start with this feature is a good idea you should be able to create most of your game without 3rd party frameworks and in later stage of your development you just replace your testing and mocking services with live e.g Playfab.
You just don’t need to test your login against live service. For example you can create your fake REST api what every time you try login during development just return success and you can continue.
When time comes you just replace your http call for live api. This is very good because it will force you to make your code independent of other services so if later you will need change from Google Login to Apple login you just change small amount code and it will work.If you make it concrete like you try now when Playfab company stop exist your game die with it.
My JSON Server - Fake online REST server for teams (typicode.com)
but I completed it and everything is fine… the game works… I’m already at the point of having to insert this function… I also put admob
Then try this : All Posts - Playfab Community
is very useless he reply what i found… and not solved
tnk you again
i just follow a tutorial.. for that i have a problem…
a link for download you can found here…
after a lot of waste time now working…
Hi, if your after a tutorial. and if it;s not too late, A developer called Coco Code on Youtube has done an entire series on Playfab with Unity. I followed it 2 years ago, and again a few weeks ago…it’s not the only one, but it’s a good series.
In my game from 2 years ago, it works perfectly. I have over 10,000 registered users in playfab. But for some reason on my new game, some people can log into playfab fine, while others they are not getting logged in, registered or nor being prompted to login and it’s getting frustrating to work out why it’s working for some people and not others.
What I really want to do as i mainly target PC and XBOX is get Windows Live Sign in working (with or without Playfab integration) and there are practically Zero tutorials…