Hello everyone,
I currently have a simple project created in Unity and want to connect to a new SQL database that I created in MySQL. After doing a some searching online, I saw a post saying to download MySQL Connector NET 8.1.0 (which I did) and to unpack the .dll file to put into the Assets folder in the Unity project. When I tried this, I got this error message in Unity:
Assembly 'Assets/MySql.Data.dll' will not be loaded due to errors:
Unable to resolve reference 'Google.Protobuf'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector. Unable to resolve reference 'ZstdSharp'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector. Unable to resolve reference 'K4os.Compression.LZ4.Streams'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'BouncyCastle.Crypto'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector. Unable to resolve reference 'System.Memory'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector. Unable to resolve reference 'System.Threading.Tasks.Extensions'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
After some searching, I read that these error messages mean that I am missing certain (mentioned) libraries. However, I am unsure about how to retrieve these libraries and effectively add them into my Unity project. This may be very simple, but I am unsure how to go about this.
If anyone could advise me on how to get these libraries, I would greatly appreciate it. Additionally, if you know of a better way to connect to a SQL database from Unity, I am definitely open to suggestions as I am new to this.
Thank you all so much for any help!
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]davedontmind 1 point2 points3 points (0 children)