K
K
kos_dev2017-03-29 21:10:28
MySQL
kos_dev, 2017-03-29 21:10:28

Using MySQL DB in Android Unity game?

Hello. I am writing a game in Unity, the specific goal is to add a Leaderboard, a list of leaders.
All players are written in the database, when registering they enter a nickname, if there is no nickname in the database, then it is added.
I use MySQL.Data.dll, in Unity all requests work fine, on the phone they just don't send.
What could be the problem and how to solve it? Is there a compatibility issue between MySql.Data.dll & System.Data.dll or MySql.Data.dll & Unity versions?
DB queries are simply ignored on a mobile device, while everything works fine in the editor.
Thank you all in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2017-03-29
@kos_dev

Are you absolutely sure that the game should keep the database on the phone? That the leaderboard must be local? That it shouldn't be an API where the game sends results via http? If yes, it is better to look at SQLite.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question