Open MetaZhi opened 6 years ago
I experienced the same - only frozen blue screen after I tried to run unity HelloAR in Emulator (AVD-Android Virtual Device) by setting Player Settings -> Device Filter to x86.
Yeah, same experience!
To add to it, the following are the errors while checking out the LOGCAT:
02-26 19:42:35.629 4607-4645/com.sample.argame E/Unity: DllNotFoundException: arcore_unity_api
at (wrapper managed-to-native) GoogleARCoreInternal.LifecycleManager/ExternApi:ArCoreUnity_setArPrestoInitialized (GoogleARCoreInternal.LifecycleManager/EarlyUpdateCallback)
at GoogleARCoreInternal.LifecycleManager._Initialize () [0x00000] in
(Filename: Line: -1)
02-26 19:42:35.629 4607-4645/com.sample.argame E/Unity: DllNotFoundException: arcore_unity_api
at (wrapper managed-to-native) GoogleARCoreInternal.LifecycleManager/ExternApi:ArCoreUnity_setArPrestoInitialized (GoogleARCoreInternal.LifecycleManager/EarlyUpdateCallback)
at GoogleARCoreInternal.LifecycleManager._Initialize () [0x00000] in
Emulator is not supported in ARCore 1.0 Unity SDK. We'll be considering adding this feature for future releases.
Emulator support is very much needed, +1 for this feature request.
Same problem, but with device. Exported unity HelloAR project into android studio library(aar), then imported into new native android app. E/Unity: DllNotFoundException: arcore_unity_api Pls help
EDIT:
I have missing:
compile(name: 'arcore_client', ext: 'aar')
compile(name: 'google_ar_required', ext: 'aar')
compile(name: 'unityandroidpermissions', ext:'aar')
compile(name: 'unitygar', ext:'aar')
Is there any other way to test/debug ARcore application built on Unity than using device?
+1 for the request; I've got an ZTE Axon 7 which supports Daydream but not ARCore.
I'm going to try run the sample anyway of course... because high-end phones are expensive.
+1 for this feature request, didn't support my OnePlus One.
I was enable all the feature for run the ar app in emulator so i got the emulator from android studio and I was run the ARUnity Project from unity 2018 then the app was successfully created and work but the virtual screen was not displayed still the screen display the message "searching for surfaces".
Emulator Google API x86 System Image API 27 Revision version 6
Emulator version 27.2.9
Android Studio 3.1.3
API Level Oreo 8.1
Hardware Profile Pixel API 27(5.0 1080*1920 xxhdpi)
Intel haxm 7.1.0
Back Camera Virtual Scene
RAM 2 GB
VM Heap 1 GB
Internal 3 GB
+1 for this feature!
Same for me. It runs on Emulator but does not use Virtual Scene. Any update on that?
I tried yesterday. the hello app works and recognizes surfaces (you have to move the virtual scene around ALT + WASD or ALT + MOUSE). however only the surfaces dots are shown. what the camera is recording is not shown. (bunch of blue dots on black screen). To get it to work. i downloaded the arcore apk 1.6. since it will not install in the emulator from google play.
Same problem here. The Virtual Scene ist running and ARCore does recognize the Scene, without showing us any image of the scene itself, instead a black screen. Because of the ARCore Point Cloud I do know for sure, that the virtual scene is being analyzed. Looks like the matrix effects :) Please give us full support for an unity apk with the emulators virtual scene.
@pablisho Any updates on this feature ? I am unable to run unity app on emulator .
I have no suitable devices now and tried to run on a Emulator following this link. https://developers.google.com/ar/develop/java/emulator
The java sdk sample works properly but the apk unity built show a blue screen with nothing. Is it possible to run on Emulator or something I did wrong?