Getting started with Firebase in Unity (2019) - Firecasts

preview_player
Показать описание
In this video, hear Patrick Martin from the Firebase team discuss how to get started with Firebase in Unity. Watch Patrick configure a Unity project with Firebase that is deployed to both of the platforms.

Links:

Рекомендации по теме
Комментарии
Автор

2020 and i'm still watching this guys because i always forget how to implement this thing into unity, thanks Homie !

wassimmefteh
Автор

Great video still works well in 2023!

For anyone using a new version of unity and wondering about the .NET version i believe .NET 4 is the only one now that's why you can't find the option for it in the player settings. (I'm using Unity version 2021.3.25f1

And to get the SHA1 I had to create a new keystore ans used the following command...
keytool -list -v -alias "name of alias" -keystore "C:\Users\... (THE LOCATION OF THE KEYSTORE YOU JUST CREATED)"
(make sure you change the things inside the quotations to your alias and your keystore location on your device).

asmargames
Автор

I like how you say it's a ~300 mb file, but when you download the SDK it's 2.2GB ???

moosesnWoop
Автор

After year later.... finally you are here!!

josephsmith
Автор

When I looked at my analytics dashboard I didn't see any users in the last 30 minutes, what am I doing wrong?

bulbasaurarmy
Автор

I recently download Unity and its Scripting Runtime Version was set .Net 2.0 Standard, is it okay to use it instead of .Net 4.x?

박지윤-ol
Автор

Did all as you told, but I don’t get the 1 phone view in Analytics :( No errors, all keys checked...

ivanm
Автор

If someone else got tons of errors when importing one of the packages, try deleting assets/PlayServiceResolver and folders. Hope it helps :)

gianmarcopane
Автор

All the guys who is like me having trouble with showing up a user on Dashboard. If you have no errors till creating android build to test. Than just like me your problem might be with this code.

=>
{

});

You can solve your problem by forcing your ContinueWith sentence to be done in the Unity's main thread. For this, just use ContinueWithOnMainThread (available in the instead of ContinueWith.

So after changing your code will looks like this.

void Start()
{
=>
{

});
}

qzswarzeeshan
Автор

Why don't just explain the important steps, and why don't share two separate videos, one for IOS users and the other for android

sekmanimohamedamine
Автор

I opened keytool.exe from this address C:\Program
but it opens then closes ?i also run it from cmd and opened as administrator

elegantuniverse
Автор

To all those using Unity Version 2020. I've tried importing Firebase packages with both the manual method and the EDM4U method as described in the documentation but both of them do not generate the Firebase folder under Android. Also, there was an IOS error saying the packages for IOS were missing (this was obvious since I had not installed the IOS package).

PS: It's working for 2019 version as expected so I'm using 2019 version. These kind of errors are common when unity switches to a new version and yes it is a headache for devs to find a workaround until a solution comes up. Best thing is to keep a game with a stable version (unity provides long term support for these).

anirudhganesh
Автор

Man, wish you made this video last month. I had to spent hours figuring out the enable analytics in the code myself.

professorm
Автор

Thank you the video
I did everything without mistake, but in the Firebase dashboard, it's still zero User per minute.
How can i fixed please???
Thanks

PeterPheneX
Автор

I made all the steps.. I think all is working OK, but I dont see any activity in the Google Analytics? Any hint what can be wrong?

samsaraAI
Автор

Is the SHA1 necessary to configure Firebase ??

hamzach
Автор

Excellent guide. Great pacing and engaging content. I would like to see a guide on integrating messaging/chats in Unity. Thanks again!

pixelbi
Автор

Integrated firebase analytics in my unity3d app and it instantly increased my apk size by ~3mb. Is there any way to reduce this size? I have been trying to optimize my file size as much as possible and then this happened. :(

skillissuemusic
Автор

Kept running into issue with build - Could not find Java SDK even though it was installed. I ended up fixing it by going into preferences > external tools and unchecking then rechecking the "use SDK installed with unity (Recommended)" Hope this helps someone, I searched for a solution forever!

Jman
Автор

'keytool' is not recognized as an internal or external command,
operable program or batch file.


error fix


Go to My computer -> right click -> system properties -> environmental variables -> Path -> add you jdk/bin to this path

C:\Program Files\Java\jdk1.8.0_211\bin
*if this not work then

In cmd set the path by using the below command

set PATH=C:\Program Files\Java\jdk1.8.0_211\bin
now the path is set now you can use the keytool




credit to MANOJ G on stack overflow

fawazaljohani