Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Java code in Unity -- JDBC and MySQL

$
0
0
I'm working on a Unity game that will have some aspects handled in Java. I have been using IKVM to convert JAR files to dll files, which can be used in Unity to send strings and stuff. The idea is to use a Java backend to access a database to make certain integers and strings available for the gameplay. I've successfully gotten Java files to return strings in Unity, but now there's a problem accessing the database. I've been using a JDBC driver to access a MySQL database, and this works fine within Eclipse but it does not work when calls to the database are attempted by the dll version of the Java code, running in Unity. Is it possible to do what I'm trying to do here? Is there a plugin that needs to be included somewhere, or is it a fool's errand to try to use Java and JDBC as a database access backend for a Unity game?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>