How to solve error CS0433?
Hi! I have errors after I update my Unity from version 2017 to the most recent one and change my .NET 3.5 to 4. In my project I have a setup database made with SQlite and I receive 3 errors 'CS0433' that point to my database's script:
The type 'IDbConnection' exists in both 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' and 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
The other 2 are the same, just change 'IDbConnection' for 'IDbCommand' and 'IDataReader'.
And I don't know how to solve it. If someone has dealt with this problem before, I would really appreciate if that person could help me. Thanks!
Answer by arantikgold · Feb 02, 2020 at 01:43 PM
I found the solution: I changed the 'API Compatibility Level' in 'other settings' in 'Player Settings' from 2.0 to 4.x , and problem solved!