【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

相关推荐
老朱佩琪!10 小时前
在Unity中用简单工厂模式模拟原神中的元素反应
unity·简单工厂模式
虾球xz18 小时前
游戏引擎学习第111天
学习·游戏引擎
程序猿多布1 天前
预定义委托(C# and Unity)
unity·c#
虾球xz1 天前
游戏引擎学习第108天
学习·游戏引擎
虾球xz1 天前
游戏引擎学习第112天
java·学习·游戏引擎
Edision_li1 天前
DeepSeek教unity------Dotween
unity·游戏引擎
zfoo-framework2 天前
Unity中NavMesh的使用 及其 导出给java服务端进行寻路
unity
程序猿多布2 天前
数学函数(C#、Lua 、Unity)
unity·c#·lua
虾球xz2 天前
游戏引擎学习第110天
数码相机·学习·游戏引擎
爱写代码的山山2 天前
虚幻蓝图解决抗锯齿方案
游戏·ue5·游戏引擎·虚幻·抗锯齿化