Unity无法加载System.data.dll [英] Unity can't load System.data.dll
问题描述
我已经下载了最新的Unity(2018.1),并将脚本运行时版本更改为4.x.
I've downloaded the last Unity (2018.1) and changed the scripting runtime version to 4.x.
但是我找不到应该在项目中包含哪个System.Data.dll(我的System.Data.SQLite库需要它).
But I can't find which System.Data.dll I should include in my project (I need it for my System.Data.SQLite library).
如果我签入Unity的文件夹MonoBleedingEdge/lib/mono中有很多文件夹:4.0、4.0-api,4.5、4.5.1-api ...
If I check in Unity's folders There are a lot of folders in MonoBleedingEdge/lib/mono : 4.0, 4.0-api, 4.5, 4.5.1-api ...
我尝试了在那些文件夹中找到一些System.Data.dll
I tried with a few System.Data.dll found in those folders
我总是得到加载脚本程序集"Assets/Plugins/System.Data.dll"失败!"当我运行游戏时.你知道为什么吗 ?还是有可能有更多详细信息(如预期的dll版本)
I always get that "Loading script assembly "Assets/Plugins/System.Data.dll" failed!" when I run my game. Do you know why ? Or is there a possibility to have more details (like version of the dll expected)
推荐答案
我的周游记":
-
It took me a week to finally figure it out...
您需要使用:
- I18N.dll
- I18N.West.dll
- I18N.*.dll(可选,它们特定于区域)
- System.Data.dll
来自C:\ Program Files \ Unity \ Editor \ Data \ Mono \ lib \ mono \ 2.0
from C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0
否 BleedingEdge路径. 然后它将正常工作...在最新的Unity 2018.2.6f1中已确认
NOT the BleedingEdge path. Then it will work without errors... confirmed in the latest Unity 2018.2.6f1
这篇关于Unity无法加载System.data.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!