Using a database for unity multiplayer project

Hello all,

Which is the best database tool for using with unity for multiplayer game?

Anyone experienced with MongoDB ot SQL?
Which is better?

Thanks!

This is off topic and too unspecific. “Multiplayer game” is a way too broad term. FPS games don’t really need any backend DB. So lager scale games (MMOs, etc.) generally have a completely seperated server architecture. Unity is mainly for the frontend and in many cases not suited for the backend (though it depends on the game).

A database generally is just a place to store data in a structured manner. It’s like asking if it’s better to use a HDD, SSD, USB mem stick, floppy disk or a tape drive. It entirely depends on the usage and the requirements. Tape drives are still used today to do backups since they are more reliable in the long term. SSDs and mem sticks have limited write cycles, floppies are slow as hell.

Without knowing the usecase, which data needs to be stored, how that data needs to be queried, how frequently you access that data, what interface you want to use to access the data, … it’s impossible to tell which system may better fit. None is generally better than the other. It’s like comparing a ferrari against an excavator. Both are good in their fields.

Apart from all that unspecificity this is not a Unity related question. Server side database systems is a general programming field and the design of a database a whole topic on its own.

Unity Answers is for specific unity related questions that can be answered. Any sort of discussions, opinion, feedback, recommendations should be handled on the Forums.