Log in or register to post comments

Black Camera on Google pixelC + unity + Android 8 Oreo

December 27, 2017 - 2:48pm #1

Hello,

 

Exact model number : Pixel C (yeah... actually)

Installed OS : Stock android 8.1.0 Oreo

Platform : Unity 2017.3.0f3 with built-in Vuforia extension, OpenGLES2 graphic API only + Device filter set to ARMv7 "only" just to rule that out

Device orientation : both

Front / back camera : did not try works fine on front camera, not on back camera

Samples : any / all

Occurence vs. Internet connection : no difference

 

The app launches once without problem (apart from a camera focusing problem which can easily be circumvent), if the app is closed, the camera playback never works again.

The device can be rebooted, shut down, the camera playback is black. 

The tracker recognition still works though, and the 3D AR objects appear in the black void.

The only solution  is to uninstall the app, and install it again. At this point you can use it one more time, before you need to uninstall it again.

Probably related to this? : https://issuetracker.unity3d.com/issues/android-build-fails-when-the-latest-android-sdk-tools-25-dot-3-1-version-is-used

https://issuetracker.unity3d.com/issues/the-project-does-not-build-on-android-platform-using-the-updated-android-sdk-tools-26-dot-0-during-the-merging-manifest-files

(Not sure if the bug tracker is the correct one, but right now, i was not able to build using sdk command line tools 26, have to replace with 25 for it to work with this version of unity) 

edit : not related

The problem cannot be reproduced using the exact same tablet running Stock Android 7.1, it works as expected using android 7.1

Also the same App works fine on a wide variety of android devices (android 6 and 7)

 

Thanks in advance,

Black Camera on Google pixelC + unity + Android 8 Oreo

January 4, 2018 - 2:40pm #6

Hello all,

I have been able to reproduce this issue on the Pixel C.

We have uploaded a patch for the Pixel C. It will be applied after performing the following:

  1. Make sure that the device's Wifi is enabled and can connect to the Internet
  2. Uninstall your test app with Vuforia integrated
  3. Reinstall the same test app
  4. Start the same test app and let it run in idle state for 30 seconds
  5. Stop the same test app
  6. Restart the same test app

Upon startup the SDK will attempt to download the patch and apply it before Vuforia camera start. Whether or not this operation completes before first camera start depends entirely on upon app experience, network connectivity and network latency.

This patch is only valid for Vuforia 7.0.X. Note that this update will only persist for as long as that version of the test app is installed on that device. Reinstallation of the app on the device *may* over-write the patch. If so, you'll then need to redo the provided steps above.

Thanks,

Vuforia Support

Black Camera on Google pixelC + unity + Android 8 Oreo

January 3, 2018 - 6:27am #5

I am having the exact same issue with the Pixel C and the newest Vuforia update within 2017.3.



I have to say im very disappointed the most recent update seems to have messed with the original SDK.  Hopefully, we can be advised of a fix asap.

Black Camera on Google pixelC + unity + Android 8 Oreo

January 3, 2018 - 4:18am #4

To add further info, everything works fine with unity 2017.2.1f1 and the included vuforia 6.5.23

Black Camera on Google pixelC + unity + Android 8 Oreo

January 3, 2018 - 2:35am #3

I was able to make it work again on android 7 on the pixelC.

Also, i was able to build using the latest android SDK tools 26.1.1 and still face the same problem with the pixelC + android 8.1 (latest factory build : OTA january 2018), so it is not related to the fact that unity only built using the android SDK tools 25

Black Camera on Google pixelC + unity + Android 8 Oreo

January 2, 2018 - 12:27pm #2

Hello,

Don't know what i have done, but further in development, now the problem occurs also on Android 7.1 on the pixelC.

Can't get video background on the second launch of the app. Weird.

Log in or register to post comments