- Home /
How can i create comunication between them?
See, I have this server/client unity application I'm developing. I need to connect to mysql, but I simply can't. I've tried a lot of things. I did set the api compatibility to .NET 2.0 (without the subset) I've imported and referenced the MySql.Data v2.0, I even imported the MySQLDriverCS.dll, but nothing works. Unity simply won't let me connect and doesn't even show an exception or something. I have the code to insert some values on the database datable that works in visual studio windows form application, but the same code in unity doesn't work. It shows no error. It simply won't insert the data. So I'm thinking about writing a program that will receive a string from a server standalone unity player and connects to the database and then return a result to the server through sockets. But my question is: How can I make the two applications "talk" Can I use simple socket connection? I've heard there's something like policy file, is that true? Does anyone know how can i handle it?