By iamtheonly
on Thu, 01/24/2019 - 17:28
Vuforia SDK Version: 8.0.1 -
Description with steps to reproduce: Setup any project with ARCamera. I used ground plane from core samples
Add button to restart the scene (simple SceneManager.LoadScene())
After few scene loads it results in black screen from ARCamera. The UI, 3D objects, Tracking, etc are working properly, just the background is black.
Random, once it took only 2 times to produce this, sometimes 10 times or more.
Restarting the scene again sometimes fixes the ARCamera (mostly on Android), on iOS when it goes black it will never init properly after next restarts.
App is going to be used at a fair by visitors and the experience will need to be restarted each time
Tested on:
Samsung s8 - restarting again after black screen sometimes fixes
Samsung s6 - restarting again after black screen sometimes fixes
Samsung s4 - restarting again after black screen sometimes fixes
iPhone 7 - black screen persists after first occurance after restarting again -
Development OS (Mac OS X, Windows, Linux): Mac, Windows -
Mobile OS and Version: iOS 12.1.3 Android 8.0.0 -
Mobile Device Manufacturer and Model name: iPhone 7, Samsung S8, S6, S4 -
Do the Vuforia Sample Applications show the same behavior?: Using Core Samples project and tested on Ground Plane scene has the same result
Yes please take a look at
Yes please take a look at this Vuforia! We are seeing this as well. Thanks iamtheonly, for creating a simple reproducable case, was about to do this today.
Can't edit post due to some
Can't edit post due to some error
I've recorded a video how this looks: https://www.youtube.com/watch?v=huQ0Fy7FCtM
Fixed using delayed
Fixed using delayed initialization
Vuforia config -> delayed initialization
Disable Vuforia Behaviour on ARCamera
Run this in start
Hello,
Hello,
Thanks for the report and follow-ups. We're looking into it.
-Vuforia Engine Support
Hello,
Hello,
We attempted to reproduce the issue but were unable to using these steps with SDK 8.0.10 & Unity 2018.3.3f1:
Here's a video that might
Here's a video that might help debug things: https://www.dropbox.com/s/bc9pyspsva7bh31/BlackScreenBug.mp4?dl=0
I didn't say in the video, this was running on iPhone 8+. We've seen on about 4 different iOS devices, so I doubt it's device dependent.
Hello,
Hello,
Thanks for the additional info. Still no luck on our side using Unity 2018.3.3f1.
Can you provide the versions of Unity you're using? I don't see them referenced in this thread.
Thanks,
Vuforia Engine Support
Unity 2018.3.2 and 2018.3.3
Unity 2018.3.2 and 2018.3.3
Vuforia 8.0.10
iOS 12.0.1
You're saying you created the project from the video, ran on an iOS device and then pressed the button as fast as you could, and it still didn't black screen?
Hello,
Hello,
Here's our Unity project and testing on the iPhone 8 Plus: https://www.dropbox.com/s/ro2hp8yob33sxyg/iPhone8Plus.zip?dl=0. Let me know if you see anything obvious that we missed.
Everything looks right. All
Everything looks right. All the build settings are default, so you should be good on that. Try mashing the button as fast as you possible can. You're pressing it really slow.
Hello,
Hello,
I was able to reproduce by using your hint to press it multiple times in succession, without waiting for the background image to be re-rendered.
Hello,
Hello,
FYI, regardless of whether or not this is an adversarial case, I've opened a ticket for core engineering to look into the issue to see if there are ways to make Vuforia more robust.
Thanks,
Vuforia Engine Support
Hey there!
Hey there!
Sorry to get back to this so late. For me when testing on S8 I didn't have to "mash" the button to make this happen. The sample video you provided was a good repro case and should result in the black screen eventually. As dpizzle said, the problem is random though..
I agree, not standard at all,
I agree, not standard at all, but the problem runs much deeper than this, this is just currently how I can reproduce on command every time.
Thanks for the update,
Thanks for the update, iamtheonly. I spent several hours trying to trim down a project to a very small reproducible case. It's really tough and time consuming, the issue presents after 50 sometimes 100 scene restarts, but other times it's right away. Very random.