For AR Core integration follow these steps
Download AR services package and install on your android device (supported devices include: Nexus, Nexus 2 & Samsung S8)
If you do not own one of the “required” android phones, download this modded AR services package:
Note: the tracking won’t be as smooth on these devices, see this as strictly testing devices. Also, still not every device will be supported with this package, test it out for yourself.
Go to: https://developers.google.com/ar/develop/unity/getting-started if you get stuck somewhere.
In Unity 2017.2 or higher, create a new project and download and import the arcore example project, you can download it here: https://github.com/google-ar/arcore-unity-sdk/releases/download/sdk-preview/arcore-unity-sdk-preview.unitypackage
In your player settings, go to XR settings and turn on “ARCore supported”. In other settings turn off multithreaded rendering and set minimum api level to android 7.0 or higher.
Download and import the Aryzon unity package and open the ARCore example scene called: “HelloAR”.
Replace the ARCoreDevice/firstpersoncamera with the Aryzon prefab and set references of:
to -> ARCoreDevice/Aryzon/ARCamera
to -> ARCoreDevice/Aryzon/ARCamera/Cameras/Camera_Right
Delete the vuforia folder and slash out #define USE_VUFORIA in ARMode.cs to disable Vuforia functionality.
Disable the Aryzon/ARCamera/ARGyroCamera script to get correct tracking.
If you’re building to an unsupported android device, go to: googleARCore->SDK->plugins in your project window and replace unitygar.aar with this file: https://github.com/tomthecarrot/arcore-for-all/raw/master/unitygar.aar
Build the project to your phone and run it. You can place objects to the pointer location by pressing the right side of the screen.
Still having problems? post them below and we’ll be happy to help out!