Unity打包出的.exe可执行文件读数据库不成功解决方法(NotSupportedException: CodePage 1252 not supported)

连接MySQL时,在unity编辑器里面运行没问题,但build后运行报异常: NotSupportedException: CodePage 1252 not supported。读数据库不成功。解决如下:

去下载 I18N.dll 和 I18N.West.dll这两个动态库文件,将其放在Unity工程目录下。再次打包问题解决。
 

参考:http://www.lai18.com/content/1022975.html

posted @ 2017-03-28 11:22  那一轮弯月~  阅读(1851)  评论(0编辑  收藏  举报