Reputation: 1430
I was wondering If I can build apps for Android using Unity with Apple's ARKit since Unity supports multiple platforms and ARKit offers SDK for Unity but I can't seem to find a conclusive answer yet.
And I know I can use Google's ARCore for Android, Unity and iOS but I want to use ARKit for some reasons.
Upvotes: 2
Views: 5778
Reputation: 58563
The answer is: No, you cannot. ARKit is for iOS and iPadOS only.
As you said, you can use ARCore SDK, Android SDK or ARCore Unity SDK for different platforms, but you can use ARKit only for iOS and iPadOS devices. The main reason, why you cannot use ARKit for Android devices is IMU sensors (gyroscope, accelerometer, magnetometer, etc): all Android devices need a thorough sensor Fusion calibration in order to observe the same AR experience. All Apple devices (A9 to A16 chipsets) have almost the same sensors (SE/6s/7/8/X/Xs/Xr/11/12/13/14) and these sensors were similarly calibrated.
Nevertheless, if you want to create Android AR app in Unity using ARCore, it's easy. For that you need Unity
, Vuforia SDK 10.10
(you can install it with Unity or download an importable package from Vuforia website) and Android SDK
.
Vuforia uses ARCore
/ARKit
technology if the hardware it's running on supports it, otherwise it uses its own AR technology and engine as a software solution without dependant hardware.
Upvotes: 7
Reputation: 2898
The recommended approach for cross-platform AR using Unity would be to use Unity's AR Foundation, it works as an abstraction layer on top of ARKit and ARCore, so you don't have to worry about the underlying native implementation.
Reference: https://docs.unity3d.com/Packages/[email protected]/manual/index.html
Upvotes: 1
Reputation: 175
Other option you can take a look on AR foundation , Unity own unity plugin for AR. Please see below blog
https://blogs.unity3d.com/2018/12/18/unitys-handheld-ar-ecosystem-ar-foundation-arcore-and-arkit/
Upvotes: 0