Answer the question
In order to leave comments, you need to log in
Object reference not set to an instance of an object due to MySQL?
In general, the situation is as follows:
I wanted to connect MySQL to my game script, but no matter what versions of the MySQL.Data.dll library framework I installed, I still get the error Object reference not set to an instance of an object.
And if you comment out or remove the MySQL script (the one in the screenshots), then everything works fine.
What is the problem?
PS I put all the .dll libraries in different paths, both in the Managed folder and in the folder with the script that uses it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question