How To Create A Database In Unity | Adding A Database In Unity

preview_player
Показать описание
Two Cups Of Coffee Or Become A Pro Game Developer?

If You Are A Complete Beginner And Want To Learn How To Make Games Click On The Link Below And Start Learning By Creating Your First Game In 40 minutes

Download The Assets And The Complete Project For This Tutorial

Game Development Blog

Like Our Facebook Page

Join Our Facebook Group

Subscribe

Firebase Set Up

Firebase Auth

Firebase Database

Save Data

Load Data

If you want to store your game data online then you need to integrate a database with unity. Firebase is one of the best databases and the easiest ones to use when it comes to storing your game data online. In this video, we are going to use Firebase database to store our game data and we are going to use the Auth feature of firebase to authenticate players in our game.
Рекомендации по теме
Комментарии
Автор

finally a tutor that i can follow and eventually buy the tuts in your website, this is what ppl need, somebody who will be constantly updating new courses and really specific ones, like database multiplayer thats the main reason so become a game dev, make our games playable in multiplayer and save data, load in firebase.

Deepmindsecret
Автор

thankyou Awsome Tuts...i was stuck in retrieving the data from firebase and your made my work easy by making this video...Keep up the good work...

hamzamustafa
Автор

You have to include "USING FIREBASE" in your title. I was looking for custom database MySQL PHP tutorial

nurlanakylbekov
Автор

Will surely watch it later...i have my exam tommorow

Prajwal____
Автор

Awesome! I've already worked on firebase before on android dev.
And not in unity so this is very helpful 😃😁

dennisgonzales
Автор

I’ve been looking for this specific tutorial but there wasn’t any. Thank you awesome tuts.

nabeeltahir
Автор

Oh, man, this will be sooo helpful for my first real project (if I can do what I need to do), thanks so much!

sadiqabbaszade
Автор

Sorry, one Question about loading Data in the foreach loop(59:12):
If i say above the foreach 'print("playerData");' i got all my data from the database printed.
But the foreach loop stops working in the line "Player extractedData = JsonUtility....". Variable t still got information of one child.
Do you know what could be a reason? I can't figure it out. :/

maxg
Автор

can anyone tell me about this prolem :
Assets\DataBridge.cs(9, 22): error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'Firebase.Unity' (are you missing an assembly reference?)

saadfaisal
Автор

Having an issue with Editor (around timestamp 40:00ish) ?

Open your google-services.json file
then update project_info so it looks like this:

"project_info": {
"project_number": "MyNumb",
"project_id": "MyID",
"firebase_url": "MyURL",
"storage_bucket": "MyBucket"
},

nichathangaming
Автор

good video :), but a small thing, when you check if the user didn't write anything you checking (if he didn't write the username "AND" password) you need to check (if he didn't write the username "OR" password)

Programming-For-Arabs
Автор

Awesome tutorial!
(Can I share you my game which I made in a week, I want your suggestions? If yes so how and where thanks)

thecodergd
Автор

Many thank you, this tutorial's extremely helpful for me!

cuonglehung
Автор

Thank you so much. It's awesome and it's good for beginners to understand how to use firebase with Unity.

darshanparmar
Автор

This is wat i want for a long while...Will this works in phone like android and IOS.one more question can you make a tutorial on push notification for game app please.Really thanks for your time and effect nice video.

vigneshsree
Автор

i build a game with mysqli and php.
what you show in the video is better?

masterg
Автор

great tutorial mate. I made a game which was a bunch of multiple choice questions. I got the database sorted thanks to this. Any idea how to store the results? Any idea what to google?

lukedraper
Автор

Is there a link still available to get the assets? The link above goes to the sales page for the Game Dev education, which I am already enrolled.

amazingtuts
Автор

Thanks for the tut man!
I have a small problem, it works just perfect for me on my unity editor.
However, I can't push from my handheld, any ideas where to check?

glassmader
Автор

Nice and clear tutorial!!! you rocks!!

guidocomba