"Assembly will not load due to errors" Unity

183
17 июня 2022, 16:20

Делаю приложение на Unity, в котором нужно использовать базу данных, которая хранится на хостинге. При попытке добавить библиотеку MySql.Data в папку с проектом, чтобы использовать её в C#-скрипте, но после добавления .dll файла получаю ошибку:

Assembly 'Assets/Libraries/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 'Zstandard.Net'. 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 'Ubiety.Dns.Core'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'Renci.SshNet'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector.

При это, если я добавлю using MySql; в любой C#-скрипт, то приложение просто не запускается.

READ ALSO
Выборка данных из Mysql по id

Выборка данных из Mysql по id

Какой запрос Mysql нужно написать чтобы извлечь данные по id которые выделены на скриншоте

227
Unity. Проблема с заполнением массива

Unity. Проблема с заполнением массива

Написал код, который должен заполнять стринговый массив с клавиатуры через поле ввода

137
Как конвертировать int в DateTime c#

Как конвертировать int в DateTime c#

В VK Api возвращается date в странном виде, в виде числа и непонятно как его расшифровывать

126
Enitity Framework и Using

Enitity Framework и Using

Подскажите, а является ли нормальной практикой плодить контексты using при работе с Enitity Framework или правильнее передавать объекты сущностей...

182