问题:在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