-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Unity Vuforia is blocked when Firebase is installed and build on Android #174
Comments
Thanks for the report. If ARCore is blocked it is quite possible Vuforia will try to fall back to Android native Camera API and there is a known issue (#149) on some devices when ARCore is not in use which will get fixed with 10.29 release. Is the problem reproducible on a different Android device? |
Thank you for your response! And thank you for explaining about the known issue. I have tested now on the three Android devices at my disposal, and the results are:
If you have more devices on your end, you can test it using the build I made here: Do you know when will 10.29 version be released? |
Hi, The 10.29 release should arrive in the January time frame. We'll post here once it is live. |
Thanks @ofir-b-HDEG for testing. It is very likely the problem is the same as #149. Beside the eventual fix to the fallback (non-ARCore) mode, it is concerning that ARCore does not work with firebase. ARCore is required by some Vuforia Engine features (e.g., Area Targets) and it is in general beneficial to tracking stability. We will have a look at the issue but this might be related to ARCore also using Firebase and causing a conflict with Firebase App core. |
Summarize the bug:
In Unity, when installing Firebase and building for Android, Vuforia is blocked (and probably ARCore). This is happening only when running on Android devices. Not in editor or iOS.
Observed problem
Checkout this repo. In the repo there are two interesting branches
vuforia-working
andvuforia-not-working
.When you checkout to
vuforia-working
and building for Android, Vuforia should work, and you could see the camera feed when running on an Android device.And you probably already guess, when checking-out
vuforia-not-working
and building for Android, Vuforia will not work and you'll experience a very black screen.If Vuforia is still working when building from
vuforia-not-working
, try a clean build instead of a regular build. You might be building on fumes :)The only difference between the two branches is that on
vuforia-not-working
I installed Firebase App (Core) package, and onvuforia-working
only External Dependency Manager for Unity is installed.You can also download the builds from here: https://drive.google.com/drive/folders/1qQx9uuLZd4EMfi0pUv8nQXZKG4P_DB-3?usp=sharing
Expected result
Vuforia should work and a live camera feed should fill the screen, instead of a black screen.
Other observations
Share any other observations that you made while experiencing the bug.
Reproducible steps
Steps to reproduce the behavior:
auto-resolution
andgradleTemplate.properties
in the dialogs that popup, and make sureExternal Dependency Manager
is properly resolved.Affected Vuforia Engine version:
Tested on v10.25.4 and v10.28.4.
Affected platform:
Tested device:
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered: