Log in or register to post comments

iOS 10 support - black screen

September 15, 2016 - 6:19am #1

Hi,

  I've just started using vuforia on iOS 10 but the screen is black even with demo app.

Is iOS10 supported by sdk?

 

Note: I've added NSCameraUsageDescription on info.plist to show message explaining why the app needs to access camera

 

Thanks

iOS 10 support - black screen

October 1, 2016 - 2:14pm #13

Hi,

 

I'm having the same problem.

I'm using OSX Capitan 10.11.6 with Unity 5.4.1p2 and Xcode 8.0 (8A218a) in a iPhone 6+ iOS 10.0.2.

 

I tryed disabling the Metal API Validation but it's not working. I'm receiving this error:

2016-10-01 18:04:36.024631 dragongame[1232:329584] ERROR/AR(1232) 2016-10-02 18:04:36: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

The funny part is that even tho the camera is not rendering, it is recognizing the image pattern.

My PlayerSettings/Other Settings is like this:

 

Thanks.

iOS 10 support - black screen

September 26, 2016 - 6:26pm #12

illusion wrote:

xcode Version 8.0 (8A218a)

Here's a workaround to do in Xcode:

Product -> Scheme -> Edit Scheme...

Disable "Metal API Validation"

iOS 10 support - black screen

September 22, 2016 - 12:13pm #11


  • Are you using Unity or iOS?
  • Does app run when launched from home screen on device?


iOS 10 support - black screen

September 22, 2016 - 11:25am #10

notsoux wrote:

Hi,

  I've just started using vuforia on iOS 10 but the screen is black even with demo app.

Is iOS10 supported by sdk?

 

Note: I've added NSCameraUsageDescription on info.plist to show message explaining why the app needs to access camera

 

Thanks

 

 

I happen to me the same and I put the description of the camera, and the screen is black, and you could solve?

iOS 10 support - black screen

September 19, 2016 - 6:34am #9

Update about the problem:

if I use CAMERA_DIRECTION_DEFAULT (which results in front camera) it seems to work( I don't see black screen anymore)

iOS 10 support - black screen

September 19, 2016 - 3:42am #8

Thanks for your reply -> I've posted my environment info today  :)

iOS 10 support - black screen

September 19, 2016 - 2:44am #7

Note:

on iPhone SE with iOS 9.3.5 it works :)!

 

Are you using the native iOS samples or Unity samples?

iOS samples

 

Which sample app is this observed with?

Vuforia Samples



Which device(s) is this observed on?

iPhone 5 with ios 10.0.1



Are there any errors in Xcode logs?

2016-09-19 11:38:23.335417 Vuforia[284:11262] [DYMTLInitPlatform] platform initialization successful

2016-09-19 11:38:37.196106 Vuforia[284:11177] ERROR: failed to set the device mode

2016-09-19 11:38:37.196984 Vuforia[284:11177] ERROR/AR(0) 2016-09-20 11:38:37: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

2016-09-19 11:38:37.327800 Vuforia[284:11177] buffer overflow!

2016-09-19 11:38:37.328296 Vuforia[284:11177] debug: shaderName=(Simple), shaderFileTYpe=(vertsh)

2016-09-19 11:38:37.328797 Vuforia[284:11177] debug: shaderPath=(/var/containers/Bundle/Application/...../Vuforia.app/Simple.vertsh)

2016-09-19 11:38:37.333199 Vuforia[284:11177] debug: shaderName=(Simple), shaderFileTYpe=(fragsh)

2016-09-19 11:38:37.333668 Vuforia[284:11177] debug: shaderPath=(/var/containers/Bundle/Application/...../Vuforia.app/Simple.fragsh)

2016-09-19 11:38:37.337408 Vuforia[284:11177] debug: shaderName=(Background), shaderFileTYpe=(vertsh)

2016-09-19 11:38:37.337665 Vuforia[284:11177] debug: shaderPath=(/var/containers/Bundle/Application/...../Vuforia.app/Background.vertsh)

2016-09-19 11:38:37.341617 Vuforia[284:11177] debug: shaderName=(Background), shaderFileTYpe=(fragsh)

2016-09-19 11:38:37.343208 Vuforia[284:11177] debug: shaderPath=(/var/containers/Bundle/Application/...../Vuforia.app/Background.fragsh)

2016-09-19 11:38:37.463218 Vuforia[284:11342] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2016-09-19 11:38:37.464890 Vuforia[284:11342] [MC] Reading from public effective user settings.

2016-09-19 11:38:39.291927 Vuforia[284:11342] INFO/AR(284) 2016-09-20 11:38:39: Vuforia SDK version 6.0.112

2016-09-19 11:38:39.500683 Vuforia[284:11342] Rendering mode set to: OpenGL ES 2.0

2016-09-19 11:38:39.687655 Vuforia[284:11342] Rendering mode set to: OpenGL ES 2.0

2016-09-19 11:38:39.689061 Vuforia[284:11177] DEBUG/AR(284) UIView has CAEAGLLayer layer class

2016-09-19 11:38:39.689183 Vuforia[284:11177] DEBUG/AR(284) UIView responds to selector renderFrameVuforia

2016-09-19 11:38:39.801012 Vuforia[284:11389] loadObjectTrackerDataSet (StonesAndChips.xml)

2016-09-19 11:38:39.805996 Vuforia[284:11389] INFO/AR(284) 2016-09-20 11:38:39: ObjectTracker: Successfully created dataset

2016-09-19 11:38:39.806780 Vuforia[284:11389] INFO: successfully loaded data set

2016-09-19 11:38:39.951950 Vuforia[284:11389] loadObjectTrackerDataSet (Tarmac.xml)

2016-09-19 11:38:39.952296 Vuforia[284:11389] INFO/AR(284) 2016-09-20 11:38:39: ObjectTracker: Successfully created dataset

2016-09-19 11:38:39.952634 Vuforia[284:11389] INFO: successfully loaded data set

2016-09-19 11:38:40.038036 Vuforia[284:11389] Successfully activated data set.



Which version of Vuforia?

sdk 6.0.112



Which version of Unity? (if applicable)

iOS 10 support - black screen

September 16, 2016 - 12:33pm #6

NeonOby wrote:

Updated XCode (8.0)

Unity 5.4.1f1

iOS10

[access] This app has crashed because it attempted to access privacy-sensitiv data without a usage description.

The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

You might try Unity 5.4.1p1 which was released today. The release notes have this item:

  • iOS: Added PlayerSettings to specify microphone and camera usage description. Needed for iOS 10 / Xcode 8 compatibility.

https://unity3d.com/unity/qa/patch-releases

Unity 5.4.1p1 iOS Player Settings:

Additional compatibility explanation on Unity Forums:

http://forum.unity3d.com/threads/ios-10-0-and-xcode-8-compatibility.430103/

iOS 10 support - black screen

September 16, 2016 - 8:50am #5

xcode Version 8.0 (8A218a)

iOS 10 support - black screen

September 16, 2016 - 8:40am #4

I've added NSCameraUsageDescription but screen is black.

iOS 10 support - black screen

September 16, 2016 - 8:00am #3

Same here.

Updated OSX (10.11.6),

Updated XCode (8.0)

Unity 5.4.1f1

iOS10

Ipad Pro

vuforia-unity-6-0-117

 

App Crashes with BadAccess error because of missing:

[access] This app has crashed because it attempted to access privacy-sensitiv data without a usage description.

The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

iOS 10 support - black screen

September 15, 2016 - 1:55pm #2


  • Are you using the native iOS samples or Unity samples?
  • Which sample app is this observed with?
  • Which device(s) is this observed on?
  • Are there any errors in Xcode logs?
  • Which version of Vuforia?
  • Which version of Unity? (if applicable)


Log in or register to post comments