Unity HTML5错误:找不到编码1252数据 [英] Unity HTML5 error : Encoding 1252 data could not be found
问题描述
我在Mac上,并且在Google Chrome浏览器中执行我的小应用程序时出现不支持代码页1252"的pb.我正在使用 Unity 2017年6月测试版,以集成为 .NET 4.6 编码的 GeometryGymIFC lib,现在(理论上)在最新的Unity版本.
I'm on Mac, and I have the pb of the "Codepage 1252 not supported" when executing my little application in Google Chrome. I'm using the Unity 2017 June beta in order to integrate GeometryGymIFC lib which is coded for .NET 4.6, now enable (theoretically) in this last Unity version.
不幸的是,将 I18N.dll和I18N.West.dll 放入Assets不能解决WebGL目标的pb.
Unfortunately, putting I18N.dll and I18N.West.dll in Assets does not resolve the pb for WebGL target.
注意:有很多统一"的DLL文件夹:
Note : there are many "unity" DLL folders :
-
团结
unity
unity_aot
unity_aot
unity_web< ===此不不包含I18N.dll和I18N.West.dll :(
unity_web <=== this one does not contain I18N.dll and I18N.West.dll :(
也许我必须选择特定版本的I18N.dll和I18N.West.dll吗?...
Maybe I have to choose a particular version of I18N.dll and I18N.West.dll ?...
推荐答案
解决方案:
1)放置
I18N.dll
I18N.West.dll
来自
/Applications/Unity/Unity.app/Contents/Mono/lib/mono/unity
进入资产.
2)然后,在资产中也添加"link.xml",内容如下:
2) Then, add "link.xml" in Assets too, with this content :
<linker>
<assembly fullname="I18N" preserve="all"/>
<assembly fullname="I18N.West" preserve="all"/>
<assembly fullname="GeometryGymIFC" preserve="all"/>
</linker>
它有效!
这篇关于Unity HTML5错误:找不到编码1252数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!