【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

相关推荐
百里香酚兰5 小时前
【Unity学习笔记】解决疑似升级Win11或使用Unity6导致Unity旧版本无法打开的问题
笔记·学习·unity
@Sunset...8 小时前
Unity网络开发基础 —— 实践小项目
unity·游戏引擎
向宇it17 小时前
【unity进阶知识7】对象池的使用,如何封装一个对象池管理器
开发语言·游戏·unity·游戏引擎
明明明h1 天前
Unity/VS 消除不想要的黄色警告
unity·游戏引擎
傻欣1 天前
麦田物语AStar算法(二)--- 测试 + 具体实现
unity
我要吐泡泡了哦1 天前
GAMES104:16 游戏引擎的玩法系统:基础AI-学习笔记
人工智能·学习·游戏引擎
新缸中之脑1 天前
LLMUnity:在Unity 3D中使用大模型
3d·unity·游戏引擎
我与岁月的森林1 天前
游戏中的对象池技术探索(一)
unity·c#·对象池
benben0442 天前
Unity3d动画插件DoTween使用指南
游戏·unity