Hello. this is a continuation of this thread: https://developer.vuforia.com/forum/unity-extension-technical-discussion/camera-preview-black-not-working-some-android-devices
This was the problem:
I have received reports of Vuforia problems in some android devices. This is the app: https://play.google.com/store/apps/details?id=com.TreflSA.Roar
The problem is that when the user enters the scene with the camera preview, nothing is there, just black background. Exiting, reinstalling the app or updating android doesn't solve the issue.
This is not happening in iOS, only some android devices. This makes it hard to debug, so I would like to know if the problem is not related to the plugin but the permissions or something like this that could be avoided in a simple way.
The app has been built with different versions of Unity and the plugin and all had the same issue. At the moment is Unity 5.1 and Vuforia 5.
This are the devices that had the issue:
- Modecom Freetab 9000 IPS
- Dell Venue 8 7840 running Lollipop
This was the solution:
Check also the Unity 5 Player Settings:
A black camera / screen with Vuforia on Unity 5 is very often caused by an incorrect setting of the Android Player Settings, in particular:
the Graphics API must be set to OpenGL ES 2.0 (and must not include any other graphics API in the list)
and the Device Filter must be set to ARMv7 only (and not to x86 or FAT (x86 + Armv7))
The situation now: Changing the Device Filter to ARMv7 only fixed the issue for some devices like the Samsung Galaxy Tab. This is fantastic! :D ...but I'm still getting reports of it.
In particular this devices still have issues:
- MODECOM FREETAB 7001HDIC
- LG G4
Any idea how to proceed?
Thanks a lot. :)