Log in or register to post comments

Unity+Vuforia on x86 android device

August 19, 2015 - 2:46pm #1
I have done some testing with Vuforia and android. Vuforia samples for  native android work properly on my x86 android device. But with unity vuforia SDK, samples are not working on same device. The apps only show a black screen when is trying to show the camera.
The log shows that qcarunitywrapper.so library could not be opened. I tried compiling both ways ARMv7 as FAT. With ARMv7 the app stops with a memory error: signal 11 , while FAT indicates that QCARUNITYPLAYER libraries could not be opened. (libvuforia.so is opened successfully)
As I said, Vuforia with native android works well , then the problem seems to be the QCARUNITYPLAYER library.
 
I'm using:
Unity 5.1.2f1
Vuforia -unity - 5-0-5.unitypackage
Device Android : Ice Cream Sandwich 4.0.3, Intel Medfield Processor 3.0.8 
 
Has anyone been able to successfully execute an app with unity and Vuforia on an Intel device , or know how to solve this problem?

Unity+Vuforia on x86 android device

January 28, 2018 - 1:10am #13

Try to fix it with https://mobile-phone-tracker.org/ mobile recorder on Android.

Unity+Vuforia on x86 android device

March 27, 2017 - 8:47pm #12

Hi, 

For some reason, I am able to run vuforia application on x86 android device ( ASUS ZenFone 2 ) even the device filter in player setting was set to ARMv7 Only when made the build.

However, i have another plugin that doesn't work if device filter set to ARMv7, it just work if set to FAT ( ARMv7 + x86 ) or x86, otherwise, it will show a system popup : "Hardware doesn't support this application ! Sorry !" and then crash. But once i changed it to FAT ( ARMv7 + x86 ), Vuforia will completely messup, showing black screen and found DllNotFoundException from logcat.

So i wonder know what is device filter meaning / for when making android build with vuforia plugin ? and how can i use both plugin at the same time ?

Unity+Vuforia on x86 android device

October 8, 2015 - 10:51am #11

rooksFX wrote:

Update your Android SDK or probably choose the right Android API, and under it, install EVERYTHING...

 

ok, whats the right API?

Unity+Vuforia on x86 android device

October 8, 2015 - 10:50am #10

dm3d wrote:

firativerson wrote:

NOPE - 32 bit build app didnt work either!!

Hook your device up to your computer and capture the adb logcat logs when trying to run the app. See what error messages you can find. Can you also post a screenshot of your Android Player Settings in Unity?

 

 

E/Corkscrew(  202): get_old_register_value: can't read from 0x4
E/Corkscrew(  202): get_old_register_value: can't read from 0x4
W/ActivityManager(  576):   Force finishing activity com.ivytr.arsjsu/com.unity3
d.player.UnityPlayerNativeActivity
After logcat, these are the errors forcing app to close. My settings are just like they should be I took it from the vufoira guide. 

Unity+Vuforia on x86 android device

October 8, 2015 - 8:35am #9

Update your Android SDK or probably choose the right Android API, and under it, install EVERYTHING...

Unity+Vuforia on x86 android device

October 7, 2015 - 4:00pm #8

firativerson wrote:

NOPE - 32 bit build app didnt work either!!

Hook your device up to your computer and capture the adb logcat logs when trying to run the app. See what error messages you can find. Can you also post a screenshot of your Android Player Settings in Unity?

 

Unity+Vuforia on x86 android device

October 7, 2015 - 2:49pm #7

But my 64 bit build project works with no problems. I am installing 32 bit unity  5.2.1 and will try to build for intel atom tablet. 

Hope this works and i will come back once I tried.

 

NOPE - 32 bit build app didnt work either!!

 

Any other ideas on how to make apps work on intel atom devices?

Unity+Vuforia on x86 android device

October 7, 2015 - 2:27pm #6

Vuforia 4.0.105 introduced support for 64-bit Unity on OS X, but it only supports 32-bit on Windows. Starting with Unity 5 on OS X, only 64-bit was offered. Unity 5 on Windows is offered in both 32-bit and 64-bit.

https://developer.vuforia.com/forum/news-and-announcements/announcing-unity-50-64-bit-support-mac-os-x

For compiling to Intel-based Android devices, see this FAQ for info about output settings:

https://developer.vuforia.com/forum/faq/unity-player-settings

 

Unity+Vuforia on x86 android device

October 7, 2015 - 1:40pm #5

dm3d wrote:

Are you running the 64-bit version of Unity on Windows? If so you will need to use the 32-bit version of Unity when using Vuforia.

 

I am running 64 bit version and my app works fine on Sony xperia Z2. But my tablet which uses intel atom crashes on start. Do you think using 32 bit unity will solve the problem?

Unity+Vuforia on x86 android device

August 27, 2015 - 12:31pm #4

Are you running the 64-bit version of Unity on Windows? If so you will need to use the 32-bit version of Unity when using Vuforia.

Unity+Vuforia on x86 android device

August 27, 2015 - 9:30am #3
Thanks for your answer , the library is actually on that path. The settings are the same. I think the problem is unity , I have tried to compile a project without Vuforia and ARMv7 device filter and the application is crashing before displaying the splash.
Everything worked properly with Unity 4.5

Unity+Vuforia on x86 android device

August 24, 2015 - 4:31pm #2

Verify that the file exists in this path:

[Unity Project]/Assets/Plugins/Android/libs/armeabi-v7a/libQCARUnityPlayer.so

Also, see here for Unity Player Settings:

https://developer.vuforia.com/forum/faq/unity-player-settings

 

Log in or register to post comments