Hello, Unity Community, I have a problem with integrating MySql Connector .Net into my game. This line should work, however it gives me “BCE0005: Unknown identifier: ‘DbProviderFactories’.” error. Dont know what to do. Here, the link to this function on msdn : DbProviderFactories.GetFactory Method (String)
I have imported System.Data.Common, if this line does not say, why I’m getting the error, I will post whole script.
var fac : DbProviderFactory = DbProviderFactories.GetFactory("MySql.Data.MySqlClient");
Thanks in advice,
Sangi93