i am trying to use Vuforia SDK to build an AR application using Unity. The application i build is working fine on the Android device. Whereas the same code is giving me a black screen in AR view when i build for iOS.
The version of Unity used for developing the code is 2017.4.1f1 and Xcode version is 10.1. Can some one help me to understand the reason for this;
I have also followed the steps provided in the below video link.
https://www.youtube.com/watch?v=3roMSonIG5c
If your application is not using ARkit, you can just downgrade the unity version to 5.6.6 and install the older version of vuforia, the camera black out problem can be solve. This issue is due to vuforia problem.
Finally i could resolve this issue after migrating it to Unity 2018.2.16. In addition to that pl. ensure that
a. Vuforia ticked in the XR settings in the player settings,
b. AR camera in the inspector is set as main camera
Related
Cannot use the camera for an AR Unity App.
When launching the app on an iOS device, the screen is totally black.
I'm running Unity version 2021.3
One of the possible solutions could be:
Go to Edit > Project Settings > XR Plug-in Management
Choose Android or iOS
Enable respectively ARCore or ARKit
Be sure that you have already installed AR packages from the Unity Hub app (tested on Unity version 2021.3)
More infos here: https://forum.unity.com/threads/black-screen-unity-ar-camera-not-working.905972/
I am stilling facing the black screen with Unity 2021.3.1f1
Done everything I can; including above.
Black screen...
AR Packages 4.2.2
XR Interaction 2.01
XR Management 4.2.1
I followed the guidance in this guide, but I only work with 2021.3.1f1 and the packages listed below.
https://learn.unity.com/tutorial/configure-your-ar-development-environment?uv=2021.3&courseId=6346b7e5edbc2a7caec0f8fc&projectId=633b041bedbc2a6de5496294
I am building an application where we are plotting trees using Cesium 3D Map. I tried to run the app on three different version of IOS 9, 10 and 11 but Cesium map doesn't load, it just shows the globe (only half of the screen) but doesn't plot. I am using Xcode 9.1 and also using apple's free trail developer account to deploy the app.
I am using IONIC Cordova frame work to Build the App.
I am using the exact same thing for Android and it works fine.
I added a picture of the app hopefully it will help.
After updating to Unity 5.2.0f3, Xcode 6.4, and the Vuforia plugin, when I build my xcodeproj, my app just shows the Splash Screen and then crashes with the following error:
EXC_BADACCESS (Code=1,adress=0x94)
I fixed similar issues by adjusting the Player Settings in Unity several times, though it seems that there is a problem with IL2CPP / Universal Architecture.
Any master that can help?
We have one known bug related to Vuforia and packing of a managed structure that causes alignment problems for iOS builds. I'm not sure that this is the error you are seeing. You can work around the error by disabling optimizations in the Xcode project (although this is certainly not a fix).
We're working with the Vuforia developers now to have the problem corrected.
I was having problem when building my project for IPhone 6+. So I made a simple scene in unity which has a simple camera and a ball gameobject and exported it to XCode. but when I run it on ios device its upper half screen has some weird display issue. can somebody help?
reference images
Problem: https://www.gmonks.com/help/1.jpg
Camera setting: https://www.gmonks.com/help/2.png
Issue has been resolved. I have created a completely new project and imported all assets one by one, now project is building properly on IPhone. Although this issue still exist in the old project, creating new project seems the easiest fix to me. Few thing are different from my old project and new project, which are the setting of quality in project setting and Lighting in windows. I think I have messed up some value in there. If anyone wants to take look then please download the project file and if possible can explain why did this happened. anyways thank for your support.
I am trying to build Xcode 6.3 my unity app on my iPad which runs iOS 8.3 . Unfortunately it crashes after the splashscreen. The only response or error I am getting is this one:
Could not launch "appname": process launch failed: failed to get the task for process 896
The number "896" is never the same.
When I build it on my iPhone, which runs iOS 8.0 it works fine.
Is it possible that this is a Vuforia issue or is it unity 5 ?
EDIT: I started with a scene that has no vuforia elements in it. Now my app starts. But when I open a scene with vuforia I get a black screen like the camera can't start or something. BUT, the tracking works, it seems like the framerate is very very low, like 1 frame a second.
this thread is a little bit older, but maybe other people are searching for a fix to the black screen issue:
The black screen issue affects currently Unity 5.0 - 5.1 and Vuforia 4.x.
Currently Vuforia seems to have problems with the iOS Metal API (which is auto selected on x64 device), to fix this issue:
In Unity goto "Build settings -> iOS" and click "Player Settings".
Now the Player Settings Panel should be opened on the right side.
Select the Tab "Other Settings" and set the option "Graphics API" to "Open GL ES 2.0".
This fixes the black screen issue for me on Mac OS 10.10 + Unity 5.x.
Hope that helps someone ;)