Open IrfanKMT opened 2 months ago
Hello,
Thanks for reaching out.
Could you try and reproduce the black screens on the devices with the Vuforia Core Samples?
Thank you
Hello,
Thanks for reaching out.
Could you try and reproduce the black screens on the devices with the Vuforia Core Samples?
Thank you
Hello, Thanks for quick response. Yes we have tried with vuforia core sample. same issue. We have tried to test in other samsung device like, Samsung S21FE (14), Samsung F23(14) working fine. but appear black screen in Samsung F13(14) and Samsung A55(14).
Thank you
Hi @IrfanKMT,
While we work on trying to reproduce this issue, have you maybe tried removing Vulkan from the Graphics APIs list in the Android Player Settings and using only OpenGLES3 instead? There have been reports in the past of rendering issues in Unity with the Vulkan APIs on Exynos/Mali-based devices like the ones you are having trouble with.
Hi @IrfanKMT,
While we work on trying to reproduce this issue, have you maybe tried removing Vulkan from the Graphics APIs list in the Android Player Settings and using only OpenGLES3 instead? There have been reports in the past of rendering issues in Unity with the Vulkan APIs on Exynos/Mali-based devices like the ones you are having trouble with.
Hi @ptc-epassaro Yes i have tried without Vulkan (using only OpenGLES3) and with Vulkan as well. Same issue occur.
Ok, then it would be great to have some more details. Could you please send us a log from the affected devices? Here we have some documentation on how to better capture Unity and Vuforia logs on Android: https://developer.vuforia.com/library/troubleshooting/troubleshooting-your-app#collect-logs
Also, which version of ARCore is installed on the devices?
@ptc-epassaro We didn't get any error in log We use marker base AR. so i think no need ARCore.
@IrfanKMT one thing I see from the log is that you have more than one VuforiaBehaviour in the scene, which shouldn't have any effect at runtime, but I would suggest you to remove all the VuforiaBehaviours from your scene except one.
By default, Vuforia will try to use ARCore if it's installed on your device. You might have an app called "Google Play Services for AR" installed on your phone. If you do, please send us the version of the app.
For the logs, please try to use the adb logcat
command line tool and follow the steps here to capture a complete log. With that, we might be able to get a better idea of the cause of this issue.
@ptc-epassaro Thanks for your suggestion. i will remove VuforiaBehaviours from my scene except one. I don't device handy right now. so not able to get log using logcat. I have tested on multiple devices(Samsung S20(13), S21FE(14), F23(14), A35(14) etc) working fine in this device but black screen appears in Samsung F13(14) and A55(14). Thank you.
@IrfanKMT I see, okay, we will try our best on our side and will keep you posted!
@IrfanKMT I see, okay, we will try our best on our side and will keep you posted!
Thank you.
Hi @IrfanKMT, from our tests it seems like Exynos-based devices like yours should work without issues when updated to the latest version of ARCore. When you have the chance, it would be great if you could update those devices to the latest version of the Google Play Services for AR. If you give it a try, please let us know how it goes. We will keep trying to reproduce the issue on our side in the meantime.
@ptc-epassaro Okay sure i will update and let you know.
We have a similar problem with our application. It works on every snapdragon device we have tested. Devices that we have a problem with are A33, A54 (probably other Exynos based devices) and Samsung Galaxy Tab A8 10.5 with Unisoc Tiger T618 chipset. Something that is in common to those not working devices:
On first start application asks for camera permission and we allow it but when we start AR scene the camera is not activating (no green dot in top right part of screen) and everything is black. As we were testing on Galaxy Tab A8 we found out it works if we put "optional" or "required" in ARCore Requirement inside Vuforia Configuration Problems arise on other devices if we use those optional/required options. Problems like inverted colors in camera stream (AR detection worked) and green screen. Those problems were happening on some Xiaomi devices
Unity Version: 2022.3.23f1 Vuforia SDK: 10.24.4 (also tested on newer vuforia version)
Hi @IrfanKMT, from our tests it seems like Exynos-based devices like yours should work without issues when updated to the latest version of ARCore. When you have the chance, it would be great if you could update those devices to the latest version of the Google Play Services for AR. If you give it a try, please let us know how it goes. We will keep trying to reproduce the issue on our side in the meantime.
@ptc-epassaro I have update Google Play Services for AR in A55 and working fine(Issue resolved). And F13 is not compatible. Thank you.
@KybokyN by setting ARCore Requirement to DONT_USE
Vuforia will use the Camera2 API, instead of ARCore camera API. We would be interested to know more about the inverted color problem on Xiaomi devices. Since this is likely unrelated to the black screen problem could you please create a separate issue including details about the specific device?
@IrfanKMT glad to know that it works on the A55 now! We will keep investigating the issue on the F13 and in apps that don't use ARCore and will update this thread with our findings.
Thank you all for all the info!
@IrfanKMT glad to know that it works on the A55 now! We will keep investigating the issue on the F13 and in apps that don't use ARCore and will update this thread with our findings.
Thank you all for all the info!
@ptc-epassaro Did you get any solution for Samsung F13. If you found something it will help to us. Thank you for your support.
Hi @IrfanKMT, the only update is that we found a way to reproduce this issue on Exynos/Mali-based devices. We're still working on a solution though. We will keep you posted as soon as we have something new.
Thank you for the patience!
Hi @IrfanKMT, the only update is that we found a way to reproduce this issue on Exynos/Mali-based devices. We're still working on a solution though. We will keep you posted as soon as we have something new.
Thank you for the patience!
@ptc-epassaro Thank you for the update!
I am experiencing the same problem on Samsung A15 and Samsung A35. The app works well on older Android versions, such as on the Samsung A20.
I have tried all Unity versions shown in the attached screenshot, along with Vuforia SDK 10.25.4, but without success.
What I've Tried:
@islammohy, both A15 and A35 should support ARCore. Could you please confirm that Google Play Services fro AR is installed on the devices and up to date to the most recent version (currently 1.45)? Do you still get a black screen if you use PREFER_PLATFORM_FUSION_PROVIDER ?
A15 with no ARCore A35 with ARCore last update Note that I was using ARCore (Disable ARCore including) and trying on a new project every time
Hi @islammohy, is ARCore set to OPTIONAL or REQUIRED in the VuforiaConfiguration?
Track Device Pose is disabled ARCore requirement is DON'T USE
Thanks @islammohy this is likely the same issue observed with the A55. Currently we do not have a fix but the known workaround is to set ARCore to OPTIONAL or REQUIRED even if do not intend to use the Device Tracker.
Hello everyone,
We are experiencing a black screen issue when starting the Vuforia camera on specific Android devices. Our game, developed using Unity and Vuforia, works fine on most devices but encounters problems on the following:
Samsung Galaxy F13 (Android 14) Samsung Galaxy A55 (Android 14) Details:
Unity Version: 2022.3.24f1 (also tested with 2021.3.9f1) Vuforia SDK: 10.25.4 Game Link: https://play.google.com/store/apps/details?id=com.root16.mapologyworld&hl=en_IN
Issue:
On the mentioned devices, the game launches without any errors, but when the Vuforia camera starts, the screen goes black. We've tested the game on several other devices, and it works as expected, so the problem seems specific to these Samsung models running Android 14.
What We’ve Tried:
Tested with different Unity versions (2022.3.24f1 and 2021.3.9f1). Verified permissions for camera access. Ensured that the latest updates for both Unity and Vuforia are in use. Request:
Has anyone encountered a similar issue, or does anyone have suggestions for potential solutions? Any guidance or troubleshooting tips would be greatly appreciated!
Thank you!