Unity3D打包游戏报错

以下是报错信息:
ArgumentException: The Assembly System.Configuration is referenced by System.Data (‘Assets/Plugins/System.Data.dll’). But the dll is not allowed to be included or could not be found.

我的解决方式很简单,打开Build Settings–>Player Settings面板
在这里插入图片描述
找到other Settings中,将Api Compatibility level变更为.NET 2.0即可。
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/maybe_ice/article/details/106908138