Android M Vuforia Initializing failed

Description of the issue:

Only on Android M (Android 6) on my Nexus 5 the vuforia initializing failed. On many other devices it works pretty good from Android 4 to Android 5. Datasetcopier script write datasets on device from obb. No error in console about that. But files are missing on Android 6 device. 

Exact Device Model number:

LG Nexus 5

Installed OS version:

Android 6

Vuforia SDK version

Vuforia SDK 5.0.6

Platform

Android with Unity 5.2.1p3

Error Logs:

 10-19 12:39:55.895    3576-3611/de.packagename D/QCAR﹕ Setting Unity version 5.2.110-19 12:39:55.927    3576-3611/de.packagename E/Unity﹕ Vuforia initialization failed    UnityEngine.Debug:Internal_Log(Int32, String, Object)    UnityEngine.Debug:LogError(Object)    Vuforia.VuforiaAbstractBehaviour:Start()    (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)10-19 12:39:55.931    3576-3611/de.packagename E/Unity﹕ Vuforia initialization failed:    UnityEngine.Debug:Internal_Log(Int32, String, Object)    UnityEngine.Debug:LogError(Object)    Vuforia.DefaultInitializationErrorHandler:SetErrorCode(InitError) (at /Users/tobias/Documents/Projekte/ar-app/unity3d/App/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:82)    Vuforia.DefaultInitializationErrorHandler:OnVuforiaInitializationError(InitError) (at /Users/tobias/Documents/Projekte/ar-app/unity3d/App/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:156)    Vuforia.VuforiaAbstractBehaviour:Start()    (Filename: /Users/tobias/Documents/Projekte/ar-app/unity3d/App/Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs Line: 82) ......... I´m using a datasetcopier script to get datasets out of OBB file. It writes the files to:  /data/user/0/de.packagename/files/mydataset.dat but i can´t see the dataset files on /sdcard/Android/data/de.packagename/files/*Could this be a Android M (6) permission error?  I can´t see the files but vuforia are able to load the dataset:.....10-19 12:39:55.936    3576-3611/de.packagename I/Unity﹕ Trackable mermaid-9-gespiegelt lost10-19 12:39:55.940    3576-3611/de.packagename I/Unity﹕ Trackable mermaid-1-gespiegelt lost.....   

Device orientation:

Landscape. We never use Portrait mode.

Back/Front Camera:

We only use Back camera.

Camera Mode:

MODE_OPTIMIZE_SPEED.

Concurrent camera access:

Camera works good.

 

How to report a device issue

When reporting a device-specific or device-related issue in this Forum, please provide a thorough description of the issue and as many details as possible on the specific device in question and the context in which the issue can be reproduced, and in particular:

  • Exact Device Model number (for Android devices, this can be seen in your device Settings panel, under "About Phone" or "About Device" or similar sub-view)
    • Note that a generic brand name (such as "Samsung Galaxy SIII" for instance) is usually not sufficient to uniquely identify the exact device, as the hardware configuration (e.g. CPU, GPU, memory, cameras, drivers) may vary significantly from one model to another 
  • Installed OS version (e.g. Android 4.2.2, iOS 6, ...)
    • If applicable, also any information about special / custom firmware installed (e.g. custom ROM, for example CyanFox, Cyangenmod and similar)
  • Platform:
    • can the issue be reproduced using the Vuforia Unity Extension
    • can the issue be reproduced using the Vuforia native SDK (on Android or iOS)
    • can the issue be reproduced with both the native SDK and the Unity extension
  • Screenshots / videos:
    • if possible, please provide any screenshot or small video that can hep better understanding the actual issue, unless the description of the problem is obvious / self-explanatory (e.g. screen is completely black)
  • Device orientation:
    • can the issue be reproduced when selecting Landscape orientation, Portrait orientation, or both ?
  • Camera:
    • can the issue be reproduced using the Back camera, Front camera or both
  • Samples:
    • can the issue be reproduced using one or more of the Vuforia Sample Apps ?
  • Concurrent camera access:
    • are you aware of other software potentially accessing your device camera while Vuforia is running ?
  • Occurence vs. Internet connection:
    • can the issue be reproduced on a first run after disabling Internet connection, uninstalling the App and resintalling it again (with Internet connectivity OFF) ? 
    • can the issue be reproduced on a second run after re-enabling Internet connectivity and running the app again ?

 

Build for Surface Pro

Hi,

There is something I don't understand in the tutorial to build application on UWP devices.

I want to export my application on Surface Pro 7. I actually have an application which is working fine on android. Do I have to start again from the Hololens Core sample like if I wanted to export to a digital eyewear? Or can I just export my file as a UWP and then convert it into an exe in Visual Studio. Any help will be appreciated !

Thanks,

 

Aristée

Problem deploying Vuforia on Surface Pro 4

Hi, I am trying to deploy a Vuforia app on UWP device (ie surface Pro 4).  I follow the instruction from this link https://library.vuforia.com/articles/Training/Getting-Started-with-Vuforia-for-Windows-10-Development.html I build a UWP app from Unity and then build an executable file from visual studio 2019 v 16.9.2 But when build succeed, I try to run the executable from Release folder and it throws errors these dll are missing vccorlib140_app.dll vcruntime140_app.dll vcruntime140_1_app.dll Can anyone help what is going on here? I've reinstalled those dll yet the errors won't go away.  Many thanks  

de_duu

Mon, 07/12/2021 - 18:44

In reply to by RolandR

Hi,

Thank you for replying to my question. Finally, I got help from my colleague who was able to find what the problem was. 

Green/Magenta artifacts on Vuforia screen

Hi,

An user of my app is complaining about green/magenta artifacts on screen. 

I can't reproduce this error on my device, and I have no other reports of the same error.

Can someone provide me information about this?

On this project, I used Vuforia 9.8.8 in Unity 2020.3.1f1.

The user device is an Motorola Moto e65 (Android 9; Kernel 4.9.117+; version PTBS29.401-58-7; screen 280 DPI 1560x720; native plataform armeabi-v7a,armeabi,arm64-v8a; OpenGL ES 3.2).

I've attached an image of the error on the post.

Thanks.

Image removed.

Hi LucasLA,

We get from time and time, reports that some android devices have render artefacts. The issues seem to be device specific issues and there is always another fix that a dev has found. for ex: https://developer.vuforia.com/forum/unity/weird-stripes-entire-android-screen

Attachment

Blue filter on poco X3

Hi im having a problem with the AR camera on my device. I tried other mobiles and they work just fine. Only sometimes when i activate the AR camera in this device all looks blueish instead the normal colours as if it haves a blue filter. I though maybe it is a compatibility problem or an issue with 18:9 cameras? I will try to get a screenshot.

Device: is a poco X3 NFC model M2007J20CT 

Vuforia version: the problem is in Unity Android SDK

Device orientation: portrait

Camera: back camera

Thanks beforehand.

same thing happening for me in REDMI NOTE 10 PRO MAX

its happening sometimes but once quit the application and relaunched, its working fine

thought its because of 18:9 aspect ratio

 

Is Samsung Galaxy Tab S7 compatible with Area Targets etc?

Hello,

Has anyone tested if the Samsung Galaxy Tab S7 or S7+ were compatible with Vuforia's advanced features such as Area Targets, Ground Plane and Device Tracker?

I can see the Galaxy Tab S6 in the list of recommended devices here : https://library.vuforia.com/platform-support/vuforia-engine-recommended-devices.html whereas the S7, which was released after the S6 is not in the list.

Thanks in advance for any reply

For a customized built android-based ar headset, what is the process to start Vuforia VISLAM calibration and service charge

Hi,

For a customized built android-based ar headset, what is the process to start Vuforia VISLAM calibration by Vuforia?

For a android device, what is the hardware requirement for Vuforia VISLAM? Such as camera quanity: single or dual and recommended resolution, accelerometer, gyroscope and etc.

In addition, what is service charge for Vuforia VISLAM calibration per device model? 

 

BRs,

Howard

 

 

Support for Samsung Galaxy S21+ 5G AreaTarget issue

I just bought the phone and I found that I cant use area target in my project.

Are there any plans to support the Samsung Galaxy S21+ 5G ?

 

Hi,

Did you test  the project on your phone and it didn't work? If yes, what error did you receive?

Thank you.

Vuforia Engine Support

anabeatrizmarques

Mon, 11/01/2021 - 14:13

Hi,

 

Web Cam screen is squashed during Play mode

Hi, during the simulation of my project I have tried to change the resolution in the upper pop up where it was selected Free Aspect at the beginning. The problem now is that my web cam in Play Mode has two big black banners that compress the video. How can I stretch back again the display? I also tried to manually define a webcam profle, but as I start Unity the .xlm file goes back to its initial version (I see it thanks to the last change date), indeed when I open it there is no the chage I made before. Thank you for the help!

Hi,

I tried to reproduce the issue but without success. It seems the changes stored once in the webcam profile are not updated.

Please try below steps:

1. Restart Unity

2. Reimport Vuforia package

Thank you.

Vuforia Engine Support