Vuforia 收藏本版 已有9人收藏 +发表新主题
查看: 26666|回复: 0
打印 上一主题 下一主题

[分享] 高通Vuforia + Unity iOS AR常见问题解决

[复制链接]

[分享] 高通Vuforia + Unity iOS AR常见问题解决

xiancai 发表于 2016-4-23 10:40:55 浏览:  26666 回复:  0 只看该作者 复制链接

最近Vuforia + Unity iOS总能折腾出各种问题.容易令人捉急.下面是我遇到的很新的两个常见问题:

1. 问题: Unity (4.5.4, 4.5.5, 4.6) + Vuforia 3.0.9 iOS下闪退.

解决:

Unity生成Xcode文件后打开,设置Info.plist文件.

点击Informaition Property List,右方出现加号,点加号.

Key输入

UIInterfaceOrientation Initial interface orientation . (都一样的)

Value输入

UIInterfaceOrientationPortrait Portrait (bottom home button)


如图


2. 问题: Unity 5 + Vuforia 4 黑屏,无相机画面.

解决:

点File菜单->Build Setting…->Player Setting…

在PlayerSetting的Other Setting处,把Graphics API设置为Open GL ES 2.0.

默认的Automatic可能会启用Metal,而目前还不支持的原因吧.



分享至:
| 人收藏
回复

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

新手上路

Copyright © 2013-2017 ARinChina-增强现实中国技术论坛   All Rights Reserved.