Topic locked

Background Texture Access iOS 8 Black Screen

October 6, 2014 - 12:20pm #1

Vuforia SDK Version: 3.0 -
Description with steps to reproduce:

1 - Background an app on iOS 8 after the camera sucessfully inited.

2 - Return to the app.

3 - 80-90% of the time the camera will display a black screen, and there is no noticible state change on any public variables to tell that the CameraDevice isn't working correctly. Repeat steps 1-2 as necessary.

 

Forcing the CameraDevice to reinit manually fixes the issue.

-
Development OS (Mac OS X, Windows, Linux): Mac OS X -
Mobile OS and Version: iOS 8 -
Mobile Device Manufacturer and Model name: All -
Do the Vuforia Sample Applications show the same behavior?: The Vuforia sample application for Background Texture Access crashes on boot. Built with Unity 4.5.4.

Background Texture Access iOS 8 Black Screen

January 23, 2015 - 12:32am #12

Update:

The pause/resume BTA issue should be fixed in the coming SDK 4.0 release (not the current "beta", but the final 4.0 commercial release that is expected soon).

 

Background Texture Access iOS 8 Black Screen

December 16, 2014 - 2:34am #11

This may be the same issue (there are some differences, but maybe you could check for the error message I posted to make sure): https://developer.vuforia.com/forum/issues-and-bugs/vuforia-fails-initialize-camera

Background Texture Access iOS 8 Black Screen

November 25, 2014 - 9:03pm #10

We are also witnessing this issue. We have seen to occur with both the background texture access method and the regular camera background. If we background the application and immediatly reopen it the camera goes black. Timing is key, if you wait for too long before reopening the app then you will not be able to repro. 

Environment:

Unity 4.5.5f1
iPad Mini 2
iOS 8.1

Background Texture Access iOS 8 Black Screen

October 14, 2014 - 10:06am #9

There was definately a time duration component. The only difference between the Unity BTA sample app and what we repro'd on is using a different shader on the video feed plane, really. We were not using the native sample. Glad to hear this is repro-able on your end, thank you.

Background Texture Access iOS 8 Black Screen

October 13, 2014 - 6:29pm #8

We tested the BTA (BackgroundTextureAccess) Unity sample app on the iPhone 5 (32-bit) with 8.0.2, and an iPad Air (64-bit) with 8.0.2, and an iPhone 6 (64-bit) with iOS 8.0.2. When putting the app into background on any of these devices and re-opening it immediately, we were able to get the app to hang on a white screen. If we counted off about 2-3 seconds before re-opening the app the camera was able to successfully re-init and work fine. When trying the native iOS BTA sample app, resuming it from the background immediately didn't reproduce the white screen. In your tests, are you using an unmodified version of the BTA Unity sample app? If you wait 3-5 seconds after placing app into background before resuming it, does it work?

Background Texture Access iOS 8 Black Screen

October 13, 2014 - 12:26pm #7

Thanks shyamatdaqri,

it seems we could not reproduce it on iPhone 5,

but we did see the behaviour you reported by running the BTA  sample on iPhone 5S (both on iOS8).

We are investigating.

 

Background Texture Access iOS 8 Black Screen

October 13, 2014 - 9:27am #6

My response was in behalf of Wally.

Background Texture Access iOS 8 Black Screen

October 13, 2014 - 9:26am #5

We have experienced it on all devices which are on iOS8 and all versions of iOS8 (8.0, 8.0.1, 8.0.2).

Background Texture Access iOS 8 Black Screen

October 10, 2014 - 12:15pm #4

Hi Wally,

could you also tell us what device you are seeing this issue on ? As dm3d said, we've not reproduced it here, but I wonder if the issue appears on iOS8 only on a few specific device models (?)

Also, the exact iOS 8 version (i.e. 8.0, 8.0.1 or 8.0.2... ) running on the device would be a helpful additional piece of info.

 

Background Texture Access iOS 8 Black Screen

October 9, 2014 - 4:29pm #3

We tested the BackgroundTextureAccess sample app with Unity 4.5.4f1 and iOS 8.0.2 running on an iPhone 5 and were not able to reproduce the black screen effect when putting the app into the background and then restoring it.

iOS 8 introduced camera privacy settings, which if the settings for the app are turned off then the entire screen will be black, but that doesn't sound like the behavior you described. The iOS 8 camera settings is described in an FAQ here:

https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

For the crash happening when the app starts, this is experienced if you don't add the <key>UIInterfaceOrientation</key> and it's string value into the plist which is generated from Unity 4.5.4f1. This topic is covered in an FAQ here:

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/unity-454-and-vuforia-ios
 

Background Texture Access iOS 8 Black Screen

October 8, 2014 - 5:05pm #2

Thank you for reporting this. We are investigating.

Topic locked