【问题标题】:Unity HTML5 error : Encoding 1252 data could not be foundUnity HTML5错误:找不到编码1252数据
【发布时间】:2017-05-24 15:40:04
【问题描述】:

我在 Mac 上,在 Google Chrome 中执行我的小应用程序时出现“不支持代码页 1252”的 pb。我正在使用 Unity 2017 June beta 来集成为 .NET 4.6 编码的 GeometryGymIFC 库,现在(理论上)启用这是最后一个 Unity 版本。

很遗憾,将 I18N.dll 和 I18N.West.dll 放入 Assets 并不能解析 WebGL 目标的 pb。

注意:有很多“统一”的 DLL 文件夹:

  • 团结

  • unity_aot

  • unity_web 不包含 I18N.dll 和 I18N.West.dll :(

也许我必须选择 I18N.dll 和 I18N.West.dll 的特定版本?...

【问题讨论】:

    标签: c# .net html unity3d dll


    【解决方案1】:

    解决方案:

    1) 放

    I18N.dll 
    I18N.West.dll
    

    来自

    /Applications/Unity/Unity.app/Contents/Mono/lib/mono/unity
    

    进入资产。

    2) 然后,在 Assets 中添加“link.xml”,内容如下:

    <linker>
    <assembly fullname="I18N" preserve="all"/>
    <assembly fullname="I18N.West" preserve="all"/>
    <assembly fullname="GeometryGymIFC" preserve="all"/>
    </linker>
    

    有效!

    【讨论】:

      猜你喜欢
      • 2018-11-08
      • 2021-05-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-08
      • 2017-02-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多