Assets/Scripts/DataBaseManager.cs(4,12): error CS0234: The type or namespace name Data' does not exist in the namespace Mono’. Are you missing an assembly reference?
The Mono.Data.Sqlite DLL file had been put into the Assets>Plugins folder and Assets folder but the error is still the same.
*This dll can work previously, unitl I installed modules: Web Player, Microsoft Visual Studio Tools for Unity, Windows Build Support using Download Assistant to solve other issues.
Hope fellow expert can give your advise on how to solve this issue. Thank you very much!
This error occurs when we are trying to use SQLite in Unity 2019 or later versions. This error occurs due to missing of Mono library for Unity 2019 or later versions. You won’t get this error if you are using Unity 2018 or less versions.
If you installed Unity 2018 or below versions then go to the installation directory <UnityInstallationDirecory>\Editor\Data\Mono\lib\mono\2.0 and copy the following files:
copy Mono.Data.Sqlite.dll and System.Data.dll to Assets\Plugins directory.
and select the dll file and in inspector select Any Platform.
exclude platforms is none.