自学内容网 自学内容网

【Unity踩坑】UWP项目安装包认证失败

问题:在Unity导出的VS项目,打包生成appx后,进行应用认证时失败。提示部分API不支持。

  • API __C_specific_handler in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
  • API DXGIGetDebugInterface1 in dxgi.dll is not supported for this application type. UnityPlayer.dll calls this API.
  • API GetFileVersionInfoSizeA in version.dll is not supported for this application type. UnityPlayer.dll calls this API.

解决方案:

在打包时要选择“Master"。因为报告中提到的API,只在debug和release版本中用到。

参考:https://discussions.unity.com/t/uwp-certification-offline-and-online-fails-unity-2019-master-build/784490/4 


原文地址:https://blog.csdn.net/tealcwu/article/details/142724058

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!