【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

相关推荐
SmalBox4 小时前
【渲染流水线】[逐片元阶段]-[透明度测试]以UnityURP为例
unity·渲染
三只坚果17 小时前
blender制作动画导入unity两种方式
unity·游戏引擎·blender
benben04418 小时前
《Unity Shader入门精要》学习笔记二
unity·unity shader
YF云飞19 小时前
Unity音频管理:打造沉浸式游戏音效
游戏·unity·游戏引擎·游戏程序·个人开发
SmalBox1 天前
【渲染流水线】[逐片元阶段]-[裁剪测试]以UnityURP为例
unity·渲染
与火星的孩子对话1 天前
Unity高级开发:反射原理深入解析与实践指南 C#
java·unity·c#·游戏引擎·lucene·反射
scoone1 天前
开源游戏引擎Bevy 和 Godot
游戏引擎·godot
阿赵3D1 天前
Unity2022打包安卓报错的奇葩问题
android·unity·安卓
霸王•吕布1 天前
游戏引擎中的粒子系统
游戏引擎·粒子系统·粒子发射盒·粒子物理参数·粒子实例·粒子生命周期·粒子参数
小徐小徐编程不急2 天前
unity实现背包拖拽排序
unity·游戏引擎