Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by JuliaKalischnig · Dec 11, 2021 at 05:27 PM · multiplayer-networkingdocumentationmultiplayer-tutorial

I am using NOrmcore for Multiplayer, and I was wondering if there is any documentation on making a login-password system?

Hello.

I am using Normcore for multiplayer, as the title suggests, and I am looking for anything that can point me in the direction of making a login-password system.
I played around with Photon and PlayFab, but they are just soooo expensive. Especially for an Indie Dev all by her lonesome.
I am wondering if there is even a way to make a login-password system with Normcore. From my searches, I have found only PlayFab really lets you do that, or if you host your own server, which isn't very possible right now, seeing that this game might not go anywhere.
Normcore has better pricing than Photon by far, and I really want to stick with it. I am making a VR game too, and Normcore directly supports VR.

Thank you for the help :)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by GetLitGames · Dec 11, 2021 at 09:22 PM

You will want to just use PlayFab, it is much better than building your own and they handle password recovery. You get a whole web user interface to manage the players. It is literally a few lines of code to authenticate. Similar to below, you will need your own user interface to allow them to enter a username/password and register and another user interface for login.

https://playfab.com/

         if (AppSettings.IsRegistered)
         {
             print($"Using email and password to autlogin: {AppSettings.EmailAddress}");
             var requestEmail = new LoginWithEmailAddressRequest { Email = AppSettings.EmailAddress, Password = AppSettings.Password };
             PlayFabClientAPI.LoginWithEmailAddress(requestEmail, OnAutoLoginSuccess, OnAutoLoginFailure);
             return;
         }
         else
         { 
 #if UNITY_STANDALONE
             var requestCustomId = new LoginWithCustomIDRequest { CustomId = SystemInfo.deviceUniqueIdentifier, CreateAccount = true };
             PlayFabClientAPI.LoginWithCustomID(requestCustomId, OnAutoLoginSuccess, OnAutoLoginFailure);
             return;
 #endif
 #if UNITY_ANDROID
             var requestAndroid = new LoginWithAndroidDeviceIDRequest { AndroidDeviceId = SystemInfo.deviceUniqueIdentifier, CreateAccount = true };
             PlayFabClientAPI.LoginWithAndroidDeviceID(requestAndroid, OnAutoLoginSuccess, OnAutoLoginFailure);
             return;
 #endif
 #if UNITY_IOS
             var requestIOS = new LoginWithIOSDeviceIDRequest { DeviceId = SystemInfo.deviceUniqueIdentifier, CreateAccount = true };
             PlayFabClientAPI.LoginWithIOSDeviceID(requestIOS, OnAutoLoginSuccess, OnAutoLoginFailure);
             return;
 #endif
         }



Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image GetLitGames · Dec 11, 2021 at 10:07 PM 0
Share

basically it checks a PlayerPref to see if they are registered, and if so uses a stored playerpref saved username and password. If not, it does anonymous login. There is a call you can make to associate a username/password with the anonymous login.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

176 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I make real-players online multiplayer games in unity just need 1-click to play like wings.io and krunker.io? 0 Answers

How can I add the player to the room that has the most person but not full using Photon? 0 Answers

Need Help with groundwork of a Multiplayer-Endless Runner Game 0 Answers

Part of code from Blackthornprod's Multiplayer Character Selection is missing 0 Answers

Network multiplayer 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges