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即可。
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章