Log in or register to post comments

Black screen after unlock device

September 4, 2015 - 5:22am #1

Hi.

We have pretty old iOS application that implemented using Unity and Vuforia. After update Vuforia to version 4.2 we get bug that can be easily reproduced.

Bug reproduced on iOS8 and iOS9.

Application works norrmally (user see camera view and unity UI controls) until device locked and unloked (some times enough one time, sime times we have to lock/unlock it several times). In result of this operation we get black screen under unity UI controls.

We have checked "UnityAppController" where we tried to apply camera accessibility fix from this thread https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility but nothing.  

Have anybody ideas how it can be fixed or may be there is already known bug in Vuforia? 

Thanks in advance.

 

 

 

Black screen after unlock device

October 8, 2015 - 8:31am #14

Hi everyone,

I am also having the same problem as everyone else. When the device is unlocked with the vuforia running in the background. It looks like Mesh Renderer (video) is turned off. Can anyone pin point on solving this issue? 

Any advice would be great!

Thanks.

Black screen after unlock device

October 6, 2015 - 9:46pm #13

The issue has been fixed and is expected to be present in an upcoming release.

Note: The workaround offered earlier in this thread will leave the Vuforia camera and trackers running in the background. This could drain resources and prevent other apps from using the camera.

 

Black screen after unlock device

October 6, 2015 - 1:09pm #12

If it's going to take a while to get this fixed in a release,  can Vuforia team provide an official temporary work around?

Commenting out UnityPause(true); in the app controller does seem to work, but I'm guessing there's a better way.

 

Black screen after unlock device

October 6, 2015 - 12:43pm #11

Hello,

 

Are there any updatees on this issue?

 

Black screen after unlock device

September 30, 2015 - 3:15pm #10

Don't have much to add to this, just that we are seeing this issue as well.  

Seems to happen pretty reliable on the second sleep, but sometimes the first.

Only happens with iOS 9 (iPad 2 and iPhone 6s plus).

Tested with 3 iOS 8 devices and cannot reproduce.

 

 

Black screen after unlock device

September 23, 2015 - 3:15pm #9

ossassin wrote:
  • Are you able to reproduce this using our ImageTargets 5.0.5 sample app?

Yes

  • Can you provide a 30-sec video of the issue?

https://www.dropbox.com/s/ejkr7iu2by0u3bb/vuforia_black_screen.mp4?dl=0

  • Which devices did you experience this with?

iPhone 4, iPad 3

  • Which version of Unity did you build the project with?

Unity versions 4.6.3, 4.6.7

Thank you for providing the video. If you wait 5-10 seconds after turning off the device and then turn it back on and swipe-to-unlock, does the video background recover okay?

Black screen after unlock device

September 23, 2015 - 12:46pm #8

inassima wrote:

we have patched the issue by

Commenting out UnityWillPause(); from UnityAppController.mm in generated xcode template,

and binded our own event for Pause,

 

not sure what the side effects are for Vuforia libs on the background but seemed to solve the issue for now.

Vuforia also offers callbacks for started and paused events that you can register for using VuforiaBehaviour:

RegisterVuforiaStartedCallback()
RegisterOnPauseCallback()

 

Black screen after unlock device

September 23, 2015 - 8:34am #7

We're having the same problem with the black screen after unlocking the device. In this post https://developer.vuforia.com/forum/ios/camera-feed-black-after-wake-ios-90 they're also experiencing a similar issue.

I couldn't reproduce the bug 100% of times but it's happening often.

Any update with this issue?

Black screen after unlock device

September 23, 2015 - 8:28am #6

 

we have patched the issue by

Commenting out UnityWillPause(); from UnityAppController.mm in generated xcode template,

and binded our own event for Pause,

 

not sure what the side effects are for Vuforia libs on the background but seemed to solve the issue for now.

 

 

Black screen after unlock device

September 23, 2015 - 6:45am #5
  • Are you able to reproduce this using our ImageTargets 5.0.5 sample app?

Yes

  • Can you provide a 30-sec video of the issue?

https://www.dropbox.com/s/ejkr7iu2by0u3bb/vuforia_black_screen.mp4?dl=0

  • Which devices did you experience this with?

iPhone 4, iPad 3

  • Which version of Unity did you build the project with?

Unity versions 4.6.3, 4.6.7

Black screen after unlock device

September 20, 2015 - 8:53pm #4

Tested Default Vuforia CloudReco app, and COULD NOT  replicate the issue,

sooo begins the hunt..

 

If anyone experiences same issue, please let us know how you solved it.

thanks

Black screen after unlock device

September 20, 2015 - 4:57pm #3

Having the same issue,

IOS 8 or 9 multiple phones. (5s,6)

Can disable the issue if UnityPause is disabled with a custom background Unity option.

Only happens after lockscreen, does not happen with regular background mode.

I do not think the issue needs a video, no errors are thrown, the Video Texture is black after enterforeground.

Using Unity 5.1.3p2, Vuforia Latest v5

 

Black screen after unlock device

September 8, 2015 - 6:15pm #2

  • Are you able to reproduce this using our ImageTargets 5.0.5 sample app?
  • Can you provide a 30-sec video of the issue?
  • Which devices did you experience this with?
  • Which version of Unity did you build the project with?

 

Log in or register to post comments