Firebase Authentication In Unity | User Login & Register | Tutorial #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 78

  • @xzippyzachx
    @xzippyzachx ปีที่แล้ว +31

    I guess I'll credit myself here since it seems that you forgot too. It's ok that you used my tutorial as reference for making this tutorial (At least this first video) and then expanded upon it. What's not ok is the little effort you put in to differentiate your tutorial from mine. You followed my script very closely, used very similar looking UI, used the same background music, and even used a very similar looking thumbnail. You should have asked my permission or at least properly credited me. Anyway if you're watching this video feel free to checkout the tutorial this video is referenced from on my channel.

    • @davestr2046
      @davestr2046 ปีที่แล้ว +2

      WOW!! I would be as mad as hell. It goes on all the time. Your own GUI as well! LOL!!!!. Blatant. As a keen Unity hobbyist, whose first port of call for tutorials is TH-cam, I see it loads. Blatant ripping off, or better known as theft. Worry not, I followed your link and now following yout tutorial. I have subscribed to your channel. Good luck.

    • @xzippyzachx
      @xzippyzachx ปีที่แล้ว +1

      Thanks!@@davestr2046

  • @rand4492
    @rand4492 9 หลายเดือนก่อน +1

    Thank you so much! I saw many videos but you are the best

  • @gabormolnar1336
    @gabormolnar1336 2 ปีที่แล้ว +4

    It's quite confusing to COPY-PASTE the code... and then explain why and how you're doing it. But thank you very much for video.

  • @Birdscolony211
    @Birdscolony211 4 วันที่ผ่านมา

    Please make a video on implementing paytm gateway or phone pay gateway in your unity project for purchasing coins or etc

  • @MadsHolst-ow4ew
    @MadsHolst-ow4ew 2 ปีที่แล้ว

    Hey Aakash, this is really helpful. Thank you

  • @o.pedrobenetti
    @o.pedrobenetti ปีที่แล้ว +6

    my code (FirebaseAuthManager) give an error at the line 121 and 187, saying that can't convert Firebase.Auth.Auth to Firebase.Auth.FirebaseUser

    • @rudyramadhana4127
      @rudyramadhana4127 ปีที่แล้ว +2

      mine is like this:
      CS0029: Cannot implicitly convert type 'Firebase.Auth.AuthResult' to 'Firebase.Auth.FirebaseUser'
      same with the one in register method
      please send help :c

    • @matchamochi786
      @matchamochi786 ปีที่แล้ว

      i had same error too, did you solve it ?

    • @o.pedrobenetti
      @o.pedrobenetti ปีที่แล้ว

      ​@@matchamochi786 i didn't bro

    • @rudyramadhana4127
      @rudyramadhana4127 ปีที่แล้ว +12

      With a help from someone, I did this, try it:
      user = loginTask.Result.User;
      (turns out, the task result has component of User)

    • @__MEETTEJANI
      @__MEETTEJANI ปีที่แล้ว

      @@rudyramadhana4127 thanks buddy big help

  • @waqasahmad-qq4pr
    @waqasahmad-qq4pr 2 ปีที่แล้ว +1

    One salute for you

  • @nikunjsethi9351
    @nikunjsethi9351 2 ปีที่แล้ว +1

    A good tutorial for basic firebase integration

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว

      Thanks Nikunj.

    • @hop3studio511
      @hop3studio511 2 ปีที่แล้ว +1

      @@aakashsolanki2490 will any realtime database tutorial soon sir?

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว +1

      I will try to add it to this series. Stay tuned, Next video is coming soon.

    • @hop3studio511
      @hop3studio511 2 ปีที่แล้ว +1

      @@aakashsolanki2490 great, good news

  • @dg_dotnet9616
    @dg_dotnet9616 ปีที่แล้ว +1

    great video

  • @deepworker_official
    @deepworker_official 5 หลายเดือนก่อน

    Is it working with any platform such as Windows stand alone or mobile only?

  • @LeonCTyes
    @LeonCTyes 2 ปีที่แล้ว

    Hey Aakash, thank you, this is really helpful.

  • @Reality_Reveler
    @Reality_Reveler ปีที่แล้ว

    AN QUESTION IS THAT IN MY GAME IN LOGIN BUTTON THEN THIS WILL APPEAER OR I HIVE TO CREATE NEW PROJECT FOR THIS??

  • @ezio9203
    @ezio9203 2 หลายเดือนก่อน

    how do u change background

  • @enessevinc5954
    @enessevinc5954 ปีที่แล้ว

    Sir, i have one issiue, When i create an empty and rename it as "FirebaseAuth" and simply add to our script, the dependency status and the fields doesnt exist. How can i solve this? thank you

  • @kyletabone7090
    @kyletabone7090 10 หลายเดือนก่อน

    Can you do one with Facebook and/or Google please?

  • @Magnetic1508
    @Magnetic1508 2 ปีที่แล้ว +1

    I have a question I don’t why I can’t import the package of firebaseAuth what to do pls

    • @vigneshrp1294
      @vigneshrp1294 2 ปีที่แล้ว

      Hey I've also got the same problem now.... Have you found any solution?

  • @vortexgames744
    @vortexgames744 ปีที่แล้ว +2

    why did u copy xzippyzachx

  • @guillermocalvosu
    @guillermocalvosu 2 ปีที่แล้ว

    can use 2020.1 unity version?

  • @MubashiraSheikh-df7wd
    @MubashiraSheikh-df7wd ปีที่แล้ว

    I got null error , can you guide me my code is not working please I have to add phone authentication in my project

  • @techwariumindiapvt.ltd.6712
    @techwariumindiapvt.ltd.6712 2 ปีที่แล้ว

    NICE TUTORIAL😀

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว

      Glad you liked it!

    • @SharpVortex
      @SharpVortex 6 หลายเดือนก่อน

      @@aakashsolanki2490 yeah zippyzach did a great job didnt he

  • @shagilkhan1
    @shagilkhan1 ปีที่แล้ว

    Could you tell me where you imported the References script? Cause I'm getting Error "Object reference not set to an instance of an object
    FirebaseAuthManager.Login () (at Assets/Scripts/Firebase/FirebaseAuthManager.cs:79)".

  • @Hafeezdigitalcenter
    @Hafeezdigitalcenter ปีที่แล้ว

    It works fine on unity editor but not on mobile ??
    I need help

    • @darklord879gg
      @darklord879gg ปีที่แล้ว

      i had same error too, did you solve it?

    • @Hafeezdigitalcenter
      @Hafeezdigitalcenter ปีที่แล้ว

      @@darklord879gg no I used playfab instead

  • @dg_dotnet9616
    @dg_dotnet9616 ปีที่แล้ว

    Why the Reference class ? dont get it, whats the purpose?

  • @VeneDrummer
    @VeneDrummer 2 ปีที่แล้ว

    I can't figured this one out.
    Assets\Scripts\FirebaseAuth.cs(30,29): error CS0117: 'FirebaseAuth' does not contain a definition for 'DefaultInstance'
    Is it because I"m in unity 2020? I downloaded the auth unity package in the same way they did

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว +1

      Have you created the "FirebaseAuth" script before importing the auth unity package of firebase? If so, It will get conflicts between your "FirebaseAuth" and the Firebase Unity Package "FirebaseAuth" you have imported. Let me know if that is the case or not. And If that is the case then simply rename your script.

    • @VeneDrummer
      @VeneDrummer 2 ปีที่แล้ว +1

      @@aakashsolanki2490 yep 100%. I named my script FirebaseAuth like a dummy. All good now :)

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว

      Great, Thanks for watching.

  • @thibautkouame1721
    @thibautkouame1721 2 ปีที่แล้ว +1

    thanks you this tutorial help me

  • @vigneshrp1294
    @vigneshrp1294 2 ปีที่แล้ว

    Hello brother!! Can you please tell how could I use your starter project in my unity project? I really need your help for completing my project

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว +2

      You can use, But remember It only contains some UI and Initial Scripts to start following the tutorials.

  • @احمد-ك7ج7غ
    @احمد-ك7ج7غ 2 ปีที่แล้ว

    When importing packages I get error when enter keystore password 😢 and when I remove all of firebase packages keystore work again , any one know how to fix that?

  • @joao16mariano
    @joao16mariano 2 ปีที่แล้ว

    Olá amigo
    estou tentado fazer uma integração da unity com firebase
    para controlar um relé com o esp8266 mas não estou conseguindo
    fazer a alteração da string, se você puder mim ajudar ficarei muito
    agradecido.
    Seria mais ou menos assim:
    chave: led
    valor: "0"
    assim:
    led: "0"
    e quando eu clicasse novamente no botão mudaria de estado para
    led: "1"

    • @o.pedrobenetti
      @o.pedrobenetti 2 ปีที่แล้ว

      tente criar um contador que não altere o valor ao programa ser inicializado, não sei como ficaria em C# mas se eu não me engano é algo assim:
      chave = led;
      valor = 0 ;
      valor++;
      chave=valor;

  • @DMI3Y.
    @DMI3Y. ปีที่แล้ว

    Assets\Scripts\Login\Firebase\FirebaseAuthManager.cs(121,20): error CS0029: Cannot implicitly convert type 'Firebase.Auth.AuthResult' to 'Firebase.Auth.FirebaseUser'
    Assets\Scripts\Login\Firebase\FirebaseAuthManager.cs(187,24): error CS0029: Cannot implicitly convert type 'Firebase.Auth.AuthResult' to 'Firebase.Auth.FirebaseUser'
    2 errors. How much and how to fix it?🤨

    • @antoniogorisek
      @antoniogorisek 8 หลายเดือนก่อน

      I know the question is old, but here's the answer just in case someone needs it:
      AuthResult authResult = task.Result;
      FirebaseUser user = authResult.User;

  • @omkarpote7607
    @omkarpote7607 ปีที่แล้ว

    Database URL not set in the Firebase config. error bro

  • @renji16
    @renji16 2 ปีที่แล้ว

    i got a yellow warning, Database URL is not set in the firebase config. how can i solve this?

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว +1

      Please check the second video of the series you will find the solution

    • @renji16
      @renji16 2 ปีที่แล้ว

      @@aakashsolanki2490 i fixed it already, i just have another problem hahaha, when i input into inputfield an error input, it stock got error and buttons got disabled.

    • @aakashsolanki2490
      @aakashsolanki2490  2 ปีที่แล้ว +1

      @@renji16 Okay great, what exactly the error is?

    • @renji16
      @renji16 2 ปีที่แล้ว

      @@aakashsolanki2490 when i try to input wrong password or input any thing that makes error appear, i cant rewrite in the inputfield., i am new to the software so its hard to know whats the problem, i just do what exactly you are doing in your project

    • @renji16
      @renji16 2 ปีที่แล้ว

      @@aakashsolanki2490 i also want to ask, what is the purpose of the LogManager?, i did not implement it, because i dont need to show message,. and where the logmanager script added to? it is in Firebaselogin Scene or Game scene?

  • @XD-Studio
    @XD-Studio ปีที่แล้ว

    Android not working

  • @jmreactstv
    @jmreactstv 2 ปีที่แล้ว

    Hi Can U plss make a video on how we can put the firebase into unity assets not for android but in pc thanks i really need this time

    • @BRSDevlog
      @BRSDevlog 2 ปีที่แล้ว

      for me it works for pc and not android

  • @CryptoKaiwen
    @CryptoKaiwen ปีที่แล้ว

    This is a great video but I am more interested in how the yield return and switch statement, for example, are purple, including all the other colours? I only have two, maybe three colors if I am lucky. Does anyone know how to change the settings in Visual Studio so it's a bit like Visual Studio Code?

  • @ldmrmdhn
    @ldmrmdhn 8 หลายเดือนก่อน +1

    hi, I got this error when registeri or log in. can anyone help me?
    NullReferenceException: Object reference not set to an instance of an object
    FirebaseAuthManager+d__15.MoveNext () (at Assets/Scripts/FirebaseAuthManager.cs:152)
    UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    FirebaseAuthManager:Register() (at Assets/Scripts/FirebaseAuthManager.cs:133)
    UnityEngine.EventSystems.EventSystem:Update() (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)

    • @princepaghdal9500
      @princepaghdal9500 2 หลายเดือนก่อน

      hey same here,how can slove this error please tell me

  • @yendrapriambada87
    @yendrapriambada87 ปีที่แล้ว

    can i implement this to unity WebGL?