Issues in AR App built in Unity using Vuforia SDK

空扰寡人 提交于 2019-12-08 14:58:23

问题


I have created a small application in Unity using Vuforia SDK. It recognizes an image and projects a 3D model on the top of it. I am able to run the app in Unity Editor but getting an issue when I try to create an iOS project and run the app on device.

I am trying to run it on iPhone X (iOS version 11.3) and this is the error that I am getting when the app starts:

VideoBackgroundConfig with screen size of zero received, skipping config step

I searched the issue on net but the solutions that I got didn't work. I am using Vuforia version 7.0.47, Unity version 2017.3.1f1 Personal and XCode version 9.3 beta 4.

Could someone please provide some pointers?


回答1:


Did you initially create your project on Windows ? And then transfer to OSX ? It is possible that some version of unity or xcode or vuforia don't run on OSX... You should re-import Vuforia after transfering to OSX.

It could also be due to the Lightning parameters, go to Windows>Lightning then Lightmaps tab. Uncheck Auto then rebuild, upload to iOS and try it again.




回答2:


This video shows how to solve this issue. Basically it is a XCode 9.3 bug. You need to copy an old XCode iOS 11.3 framework folder to the XCode 9.3.

https://www.youtube.com/watch?v=3roMSonIG5c



来源:https://stackoverflow.com/questions/49815982/issues-in-ar-app-built-in-unity-using-vuforia-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!