Log in or register to post comments

black screen on 2nd time loading app

May 27, 2015 - 7:54pm #1

Hi there,


I'm using the vuforia playback sample version 4.2.3, in xcode 6.2 for iOS. I haven't modified the sample in any way, yet I'm getting a black screen upon pressing "start" in the sample. The strange thing is this only happens after an initial build. On the initial build the sample seems to work just fine. When ran a second time, or subsequently, I get the black screen of death. This only happens on the rear camera, if I switch to the front, the camera works. I've been looking through the forums and a lot of things seem Unity related but this is the straight up example. Any ideas what could be causing this? Here is the Log from Xcode in case it helps.


2015-05-27 22:48:36.352 VidPlayback[2108:60b] debug: shaderName=(Simple), shaderFileTYpe=(vertsh)

2015-05-27 22:48:36.360 VidPlayback[2108:60b] debug: shaderPath=(/var/mobile/Applications/121AF21D-6B4C-42A0-9FC0-47BE1FD210E9/VidPlayback.app/Simple.vertsh)

2015-05-27 22:48:36.366 VidPlayback[2108:60b] debug: shaderName=(Simple), shaderFileTYpe=(fragsh)

2015-05-27 22:48:36.371 VidPlayback[2108:60b] debug: shaderPath=(/var/mobile/Applications/121AF21D-6B4C-42A0-9FC0-47BE1FD210E9/VidPlayback.app/Simple.fragsh)

2015-05-27 22:48:36.640 VidPlayback[2108:6c03] INFO/AR(2108) 2015-05-27 22:48:36: QCAR SDK version 4.2.3

2015-05-27 22:48:37.383 VidPlayback[2108:60b] AVPlayerItemStatusObservationContext -> AVPlayerItemStatusReadyToPlay

2015-05-27 22:48:37.434 VidPlayback[2108:60b] AVPlayerItemStatusObservationContext -> AVPlayerItemStatusReadyToPlay

2015-05-27 22:48:37.876 VidPlayback[2108:b203] loadAndActivateImageTrackerDataSet (StonesAndChips.xml)

2015-05-27 22:48:37.881 VidPlayback[2108:b203] INFO/AR(2108) 2015-05-27 22:48:37: ObjectTracker: Successfully created dataset

2015-05-27 22:48:37.887 VidPlayback[2108:b203] INFO: successfully loaded data set

2015-05-27 22:48:38.341 VidPlayback[2108:b203] INFO: successfully activated data set

2015-05-27 22:48:38.421 VidPlayback[2108:b203] *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: (





2015-05-27 22:48:38.444 VidPlayback[2108:b203] DEBUG/AR(2108) UIView has CAEAGLLayer class

2015-05-27 22:48:38.449 VidPlayback[2108:b203] DEBUG/AR(2108) UIView responds to selector renderFrameQCAR</pre>

black screen on 2nd time loading app

June 11, 2015 - 4:45am #3

I'm having the same issue.
Unity 4.6.5
Vuforia 4.2.3

First time loaded up is fine. Here is the crash log:

2015-06-11 11:46:43.626 sg360[343:60b] ERROR/AR(343) 2015-06-11 11:46:43: VideoBackgroundConfig with screen size of zero received, skipping config step
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338
Tracked Show_ARInstructions
UnityEngine.Debug:Internal_Log(Int32, String, Object)
(Filename: /Users/builduser/buildslave/unity/build/artifacts/iPhonePlayer-armv7-il2cppGenerated/UnityEngineDebug.cpp Line: 56)
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338
OpenGLES error 0x0500 in /Classes/Unity/GlesHelper.mm:338

black screen on 2nd time loading app

June 4, 2015 - 10:16am #2

Samething happened for me. Please just upgrade your unity into unity 4.6.5 or so and use vuforia 4.2.3 then everything will works fine.

Log in or register to post comments