Hi all,
i make a connection from Unity project and Database in Altervista,
in pc, inside a Unity or pc application it work, but if i build apk and run it on my device, it can’t connect to the server.
I use WWW form and PHP command.
I have include System.Data and MySql.Data.MySqlClient libraries.
You probably need to enable network permissions for your android apk. Android apps require that the app request and that the user grant permission for each device feature like network access, sd card access, camera access, etc.
Hi, I have the same problem. I have a database in digital ocean and I can insert or read the data. If I press play the scene run perfectly. But when I swhitch platform to Android, show me in all my scripts the error: BCE0005: Unknown Identifier: ‘variable_name’. Please, can you help me?
Dude see if you have the full address with such as with “https://” in the beginning
Although it works on pc without the full address it doesnt work so on mobile.
I had the same problem.But with the full address it worked on android too.
Hopefully you found an answer here