【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

相关推荐
爱搞虚幻的阿恺11 天前
Niagara粒子系统-超炫酷的闪电特效(加餐 纸牌螺旋上升效果)
游戏·游戏引擎
_Li.11 天前
Simulink - 6DOF (Euler Angles)
人工智能·算法·机器学习·游戏引擎·cocos2d
weixin_4242946711 天前
Unity 调用Steamworks API 的 SteamUserStats.RequestCurrentStats()报错
unity·游戏引擎·steamwork
HoFunGames11 天前
Unity小地图,Easy Minimap System MT-GPS插件
unity·游戏引擎
wy32586436411 天前
Unity 新输入系统InputSystem(基本操作)
unity·c#·游戏引擎
WarPigs11 天前
着色器multi_compile笔记
unity·着色器
ECHO飞跃 01211 天前
Unity2019 本地推理 通义千问0.5-1.5B微调导入
人工智能·深度学习·unity·llama
Unity游戏资源学习屋11 天前
【Unity UI资源包】GUI Pro - Casual Game 专为休闲手游打造的专业级UI资源包
ui·unity
冰凌糕11 天前
Unity3D Shader 顶点法线外扩实现描边效果
unity
星和月11 天前
Untiy使用说明
c#·游戏引擎