Пікірлер
@HaLF0419
@HaLF0419 2 күн бұрын
Thanks a lot!
@navarone77
@navarone77 5 күн бұрын
Source Code for Scipts: gist.github.com/navarone77/1a67071194263c93c2b718882203cccd
@anthonyaldretekid
@anthonyaldretekid 5 күн бұрын
Can You please put the code in the comments
@navarone77
@navarone77 5 күн бұрын
No Problem . Here you go gist.github.com/navarone77/1a67071194263c93c2b718882203cccd
@mjdevlog
@mjdevlog 6 күн бұрын
Thank you so much! Clear and conscise!
@djflees3583
@djflees3583 8 күн бұрын
I got this working perfectly for my desktop app - thank you! However, I also have a WebGL version and that is not working. I click the log in button and nothing happens. I put in some pop up messages to try and see what was going on and loginController.InitSignIn() is being called, but the await PlayerAccountService.Instance.StartSignInAsync(); line never finished as I don't get any messages after that line. Any idea what is going on or what I might need to change to get this working?
@weiruowei4576
@weiruowei4576 14 күн бұрын
your login is helpful, but I am not sure how it log out here?
@navarone77
@navarone77 13 күн бұрын
Hi Thanks for watching! to Sign out you can call AuthenticationService.Instance.SignOut you can pass a bool in the method to clear credentials / stored session. Link to Docs: docs.unity.com/ugs/en-us/packages/com.unity.services.authentication/2.6/api/Unity.Services.Authentication.IAuthenticationService#Unity_Services_Authentication_IAuthenticationService_SignOut_System_Boolean_ You might also need to call PlayerAccountService.Instance.SignOut(); Beforehand Hope it helps :)
@weiruowei4576
@weiruowei4576 12 күн бұрын
@@navarone77 thank you very much for your response, but I have problem when using onclick event. It won't give appropriate drop down menu every time ,so my button is not triggered
@navarone77
@navarone77 10 күн бұрын
@@weiruowei4576 wdym by "the appropriate dropdown" are you talking about the onclick event?have you dragged in the OnClick event the component/script that is on the gameobject ? make sure its not the one from the Project View
@LordBaileyDev
@LordBaileyDev 14 күн бұрын
Bro sounds like he's making love to my ears.
@lazydude5681
@lazydude5681 20 күн бұрын
Thanks for sharing! How is the performance if I had several of them for graffitti on walls?
@navarone77
@navarone77 18 күн бұрын
yeah they are pretty good, make sure you enable GPU instancing.
@este_marco
@este_marco Ай бұрын
i don't find the unity extension, closest is "unity code assist lite"
@navarone77
@navarone77 Ай бұрын
are you on Visual Studio code and not visual studio ? marketplace.visualstudio.com/items?itemName=visualstudiotoolsforunity.vstuc
@este_marco
@este_marco Ай бұрын
@@navarone77 yep, i was on microsoft visual studio, i installed visual studio code and after installing some sdk now it works
@DesmosediciDK
@DesmosediciDK 2 ай бұрын
Thank you. can you shov me you shader graph how to set op the normal blend ?
@12Kefu
@12Kefu 2 ай бұрын
hey the code is great but you have to login every time you launch the app can you help me with the issue
@navarone77
@navarone77 2 ай бұрын
You can make a system easily, after you login , you can use the method for detecting already cached player, using the method below docs.unity.com/ugs/en-us/manual/authentication/manual/cached-players
@danielvenancio429
@danielvenancio429 2 ай бұрын
Thank you ;)
@zarplay.official
@zarplay.official 2 ай бұрын
Is it possible to block players through this system?
@navarone77
@navarone77 2 ай бұрын
You can disable an account with Player Management system.
@zarplay.official
@zarplay.official 2 ай бұрын
​@@navarone77how?
@zarplay.official
@zarplay.official 2 ай бұрын
​@@navarone77hooow?
@zarplay.official
@zarplay.official 2 ай бұрын
You delete comment?
@navarone77
@navarone77 2 ай бұрын
@@zarplay.official No I don't think so. It still shows fro me. I said you can disable accounts inside the Player Management system
@lenadesp
@lenadesp 2 ай бұрын
Hi, I have a problem: VScode doesn't show on unity and I have tried several times :C
@navarone77
@navarone77 2 ай бұрын
have you made sure the Visual Studio package is installed and up to date ? If you have further issue you can hit me up on discord, the link on my YT profile.
@chuketsu1458
@chuketsu1458 2 ай бұрын
In 2 minutes, I learned more than my class that lasted 3 hrs of various things about Unity hahaa Thank you so much for this tutorial !
@navarone77
@navarone77 2 ай бұрын
Glad it helped out!
@JohnRossFerrancullo
@JohnRossFerrancullo 2 ай бұрын
it frickin works. i have the problem with my intellisense for a couple of months now. the only thing I did is to open my script one by one without opening the directory of my project straight to vscode but now thanks to you the intellisense problem is gone and and it can instantly detect the unity classes and call my other scripts without errors of not finding the called script.
@mouaadibnujabal3919
@mouaadibnujabal3919 2 ай бұрын
thank you !
@navarone77
@navarone77 2 ай бұрын
you're welcome!
@NASA-Educational
@NASA-Educational 2 ай бұрын
how to logout after login?
@navarone77
@navarone77 2 ай бұрын
AuthenticationService.Instance.SignOut will sign out, you can pass a bool to clear credentials. Docs: docs.unity.com/ugs/en-us/packages/com.unity.services.authentication/2.6/api/Unity.Services.Authentication.IAuthenticationService#Unity_Services_Authentication_IAuthenticationService_SignOut_System_Boolean_
@NASA-Educational
@NASA-Educational 2 ай бұрын
so only the unity team can see if someone login to your app? like user's name,email and id?
@navarone77
@navarone77 2 ай бұрын
I'm not entirely sure how they handle the data in UGS, look into their PrivacyPolicy/TOS. Likely they only have access to the same public info you do, nothing private.
@omarbenjdidia4679
@omarbenjdidia4679 2 ай бұрын
Great tutorial, i wad wondering why using Unity.Services.Authentication.PlayerAccounts specifically .PlayerAccounts isnt found
@rathalos535
@rathalos535 3 ай бұрын
this guy help me so mutch ! suscribe
@navarone77
@navarone77 3 ай бұрын
thanks!
@ALZHEM
@ALZHEM 3 ай бұрын
best tutorial ever, and I'm serious.
@navarone77
@navarone77 3 ай бұрын
thank you!
@sivap3424
@sivap3424 3 ай бұрын
Great tutorial. A single video clarified all my doubts. Thank you very much!!
@navarone77
@navarone77 3 ай бұрын
Great to hear! You're welcome :)
@jacobjacob5735
@jacobjacob5735 3 ай бұрын
Why did you not upload the code? At least write it in the description or as a comment. Without comment and then also sped up. Not really as helpfull as I had hoped...
@navarone77
@navarone77 3 ай бұрын
It's pretty straight forward, but I can see how it can be useful to have source code. I will do so in the next videos. Appreciate the Feedback
@AsTrO-zq1kz
@AsTrO-zq1kz 3 ай бұрын
​@@navarone77bro pls reply. So,If we use this login system,this can save the in-game data for each account for example,the level of player or something they have collected?And once they logout and then login again ,may the data be saved for that account.?
@TheCollectiveYoutube
@TheCollectiveYoutube 3 ай бұрын
​@@AsTrO-zq1kz yes, but you use learn how to read and write to the database
@navarone77
@navarone77 2 ай бұрын
@@AsTrO-zq1kz That is correct, this allows to store data for each one of those player accounts via Unity Cloud Save. I have an intro video on intro to Cloud Save , working on a series to do dashboard for players to manage their own data. Subscribe to stay tuned, should be dropping in a few weeks
@navarone77
@navarone77 2 ай бұрын
Hey there, I've uploaded the code/project used in the video. Hope it helps github.com/navarone77/UnityPlayerLogin_Example
@doiteeeeee
@doiteeeeee 3 ай бұрын
Thanks
@navarone77
@navarone77 3 ай бұрын
No problem :)
@goncalobarros4124
@goncalobarros4124 3 ай бұрын
this auth login is done with what on user end?what do they send to unity? I am asking because I am wondering how this will work if user changes smartphone and needs to have their account of the app/game on the new phone?
@navarone77
@navarone77 3 ай бұрын
unity simply uses their own auth system to communicate with the various APIs such as Google, Apple etc. All Information on privacy and such, could be found here docs.unity.com/ugs/en-us/manual/authentication/manual/privacy-and-consent Everything else is handled by each individual company
@Knuckles2761
@Knuckles2761 3 ай бұрын
Great tutorial. Thank you. The only thing unclear - when I install on fresh Linux Mint I can't build to Windows platform and the folder /wherever-bla-bla-bla/UnityInstalls/2022.3.22f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport is empty, but Windows is shown as installed in UnityHub. And it is only Linux in Build Settings--->Windows, Mac, Linux--->Target Platform
@navarone77
@navarone77 3 ай бұрын
Interesting ..Are you still having this issue? I have not been able to play around with exporting to windows just yet, been mainly doing linux server build. I can give a try again and see if I can find any insights on this issue.
@Knuckles2761
@Knuckles2761 3 ай бұрын
@@navarone77 it seems that it happened if I didn't install it in /home/. People on the Internet are saying it may be because of path length or that I've installed it on different drive that may be not marked as mounted for some reasons. Anyway, seems to work fine when I reinstall everything to just /home/ Thank you for help!
@Nounsi_Dev
@Nounsi_Dev 4 ай бұрын
unity is pushing forward newtonsoft json so better use that over jsonUtility
@navarone77
@navarone77 4 ай бұрын
I do agree and it is a better tool. For beginner and also sake of simplicity this video focuses on built-in class.
@beardordie5308
@beardordie5308 4 ай бұрын
This was a nice video. In my opinion, it may be a better choice to skip the pitch shift and just put the mic further away and speak louder/stronger to avoid the "vocal fry" that some voices have which others can find off-putting. By speaking with more strength, it can avoid or reduce that unwanted characteristic. All the best and thanks for the video!
@navarone77
@navarone77 4 ай бұрын
Thanks! I appreciate the feedback! Ill take into consideration also about the pitch, just thought it was funny lol yeah, indeed should've projected more but it was late night.
@juancarlosiglesiasburgueno5296
@juancarlosiglesiasburgueno5296 4 ай бұрын
And how to register? Or it is in? Sorry for my atrevement but first is register. Please tell me. Thanks.
@navarone77
@navarone77 3 ай бұрын
The account is already a registered account by using the other providers, you can also sign up with email and password. It takes care of registration for you
@fastsolution
@fastsolution 4 ай бұрын
did they removed the "unity player accounts" i cant see it in the services ?
@navarone77
@navarone77 4 ай бұрын
Did you install the Authentication package ? Just tested it on Unity 2023 as well, it is still there in Project Settings after you install Authentication.
@fastsolution
@fastsolution 4 ай бұрын
@@navarone77 yes i did but player accounts is not showing in services it shows online in the providers.. could it be the unity version issue ? i am using 2022.1.24f1
@fastsolution
@fastsolution 4 ай бұрын
it shows all the other providers like facebook,google,steam etc.. @@navarone77
@Nounsi_Dev
@Nounsi_Dev 4 ай бұрын
@@fastsolution restart the editor, atleast that how i sovle the issue
@MarwanSharaiha
@MarwanSharaiha 3 ай бұрын
@@Nounsi_Dev it can only be selected in Unity Cloud and then it reflects automatically in the Authentication tab.
@seanc6193
@seanc6193 4 ай бұрын
This is great because you can integrate this with Unity cloud saving, so logging into your google account should persist the data. I love it, thanks. *Edit:* This video put me on the right track. If you're making an Android game add Google Play Identity Provider and use the standard Google Play login setup. This will link google play account to the cloud save while maintaining the functionality most users are accustomed to.
@navarone77
@navarone77 4 ай бұрын
Great observation there, very helpful indeed. Thanks for watching! There is also a video I'm working on, by using a generated passcode to login another device after login. Great easy cross-device login
@hardworkerstudio
@hardworkerstudio 4 ай бұрын
I feel thank you for making this VDO a bit But!!! why do you add functions to Buttons by scripts? this is you are making a Tutorial VDO, and your typing is also very difficult to follow something should add first, But you add last, it so wiered and it not makesense at all!
@navarone77
@navarone77 4 ай бұрын
Thank you for the feedback, I'll certainly make note of your suggestion about the order of elements in the video. Is there a specific part this occurs? I'll review and adjust accordingly for future content. Regarding the buttons,assigning them in code for better clarity. It's definitely helpful to have all references visible in the code editor for easier management and understanding what is linked to what without going through inspector or unity Editor every time. Thanks again for your insights!
@hardworkerstudio
@hardworkerstudio 4 ай бұрын
it really difficult to follow your typing, some class are missing some class are don't know what namespace you used, you should add all script to description, so, people can easily copy them
@navarone77
@navarone77 4 ай бұрын
Sorry you had troubles, not sure classes were missing. Okay I will add all the scripts to description
@SelaMalka
@SelaMalka 4 ай бұрын
Thank you very much! great tutorial! One question though - can you think of a way to keep the player logged in even after he quit the application?
@navarone77
@navarone77 4 ай бұрын
Do you mean on the mobile device ?
@OwlSeeYallLater
@OwlSeeYallLater 5 ай бұрын
Nice bro thank you straight and to the point
@GodIsAGameDev
@GodIsAGameDev 5 ай бұрын
Super helpful and easy to understand, thank you!!
@navarone77
@navarone77 5 ай бұрын
You're welcome @GodIsAGameDev!
@xpi8857
@xpi8857 5 ай бұрын
I tried and couldn't get the avatar. Is there any way to get the avatar?
@navarone77
@navarone77 5 ай бұрын
Very interesting question, this might be an upcoming feature unity is implementing, I will look into a way to get this done beforehand though. thanks!
@hydrocarbon7045
@hydrocarbon7045 5 ай бұрын
thanks for your help
@navarone77
@navarone77 3 ай бұрын
You are welcome !
@dacriaxvgr
@dacriaxvgr 5 ай бұрын
I'm curious on how did you managed to make a "working" fps controller using cinemachine. I've been struggling to make my existing one work with CM and I always have the problem of it moving to a different direction, or the camera is rotating faster than the character.
@navarone77
@navarone77 5 ай бұрын
is the Virtual Camera should work the same , just put the virtual camera as child of the player. Same as you would for Camera component. Make sure the Body section of the Virtual Camera doesn't have any movement. if you need stepbystep help you can reach over to the community Discord server discord.gg/adbRVRub
@giacomoturati9475
@giacomoturati9475 5 ай бұрын
Perfect video, not that long and very understandable! keep making these
@devonn6_
@devonn6_ 5 ай бұрын
It works fine on editor but on phone the app restarts again and goes to he login page...Any solutions
@navarone77
@navarone77 5 ай бұрын
I tested on phone as you see in video and seems to work , would you mind sharing more info on your setup ?
@devonn6_
@devonn6_ 5 ай бұрын
@@navarone77 yes..but let me try one more time...
@devonn6_
@devonn6_ 5 ай бұрын
@@navarone77 one think I want to say that when I click on login it will open a browser and try to login..but when it goes back after login from the browser ...the game will restart ..its seems its not running on background. .any solution ?
@navarone77
@navarone77 5 ай бұрын
@@devonn6_ hmm that is strange, something might be wrong with your code I'm thinking. Just tested everything again and seems to work here. Perhaps try it on a brand new project just to test out?
@devonn6_
@devonn6_ 5 ай бұрын
@@navarone77 we need to write code for making our app run on recent background apps?..
@user-vo2lc5he9m
@user-vo2lc5he9m 5 ай бұрын
bro thank you! cause it actually worked!
@navarone77
@navarone77 5 ай бұрын
Glad it helped :)
@indievisualgames345
@indievisualgames345 5 ай бұрын
Hi nice tutorial, Is there any way to have multi login methods for Google Apple and custom login, also in that case how the auto login will check in terms of scripting, eg a user has apple login, if google play login fails in auth then how it will come to apple login and check via scripting. on the login screen we have 3 ways to login that is google apple & custom email login
@navarone77
@navarone77 5 ай бұрын
Do you mean separately ? Google play by the way is a separate auth , this one is the Unity Player Login should cover all those mentioned already in vid. The Player Login method only waits for the token once logged in. Would you mind explaining the use case of what you're doing this for?
@theFishy_
@theFishy_ 5 ай бұрын
I just get this error whenever im trying to log in: [PlayerAccounts]: HttpListener has been disposed.Cannot access a disposed object. Object name: 'listener'.
@at930pmgames
@at930pmgames 5 ай бұрын
Google play services has a conflict resolution save, when a player is logged in 2 devices, which one to save. Havent found this on Unity cloud save. Something to set ej. Save the longest time logged in.
@navarone77
@navarone77 5 ай бұрын
Interesting you bring this point, I'm not familiar with this issue because I have not used GooglePlay services with this yet. I will look into it
@jonathansmith114
@jonathansmith114 6 ай бұрын
Are these very performant?
@navarone77
@navarone77 6 ай бұрын
yes they should be performant, if you toggle "GPU instancing" is even more optimized by using GPU
@ryoma3242
@ryoma3242 6 ай бұрын
BRO THANK YOU SO MUICH!!!!
@navarone77
@navarone77 6 ай бұрын
You're welcome! :)
@jad_diftar
@jad_diftar 6 ай бұрын
Thank you
@navarone77
@navarone77 6 ай бұрын
No problem :)