Quantcast
Channel: Questions in topic: "dllimport"
Viewing all articles
Browse latest Browse all 160

How do I import MySql Connector into Unity Project?

$
0
0
- I've tried placing the basic dll's into unity's assets folder - Result: "blah blah will cause Unity to Crash Error." - I've tried Manually adding references - Result: Unity refreshes its references anytime the editor refreshes, so worthless. - I've tried Installing using NuGet - Result: Closest to success as it handles all the dependencies and whatnot but I get: Assets/Scripts/Developing/TalkToDB.cs(3,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing an assembly reference? ---------- Is it some kind of a combination of "Use NuGet then copy the dll into the Assets?" or something redundant like that? cause that's about the best guess I've got. ---------- Also, I've tried a couple older versions of the NuGet package to no avail. As well, MySql.Data *is* listed under the References of "Assembly-CSharp" And my Unity is set to 4.X framework Using Unity's latest 2018.2.5f1 (64bit) (I really hope that I don't have to ditch 4.x for this to work... I'll miss initializing values to properties..)

Viewing all articles
Browse latest Browse all 160

Trending Articles



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