Docs

Augmented Reality with Vuforia or Gyroscope | Unity AR

Here you will find an online version of сomplete documentation for our Unity AR Assets with Augmented Reality.

First of all, read the docs. If it didn’t help, get the support.

AR Camera GYRO

Download

Download on Unity Asset Store.

Known issues

Unity bugs

  1. INPUT.GYRO.ATTITUDE returns zero values on Motorola Moto G4 and G5.
  2. INPUT.GYRO is extremely laggy on Samsung Galaxy S6, S6 Edge and S8 with Android 7.0.
  3. INPUT.GYRO.ATTITUDE returns acceleration’s values: Fixed in Unity 2017.2.
Your actions

Vote on these issues and comment them. It’s important for Unity Team, so users should pay them attention to the situation.

Black screen on iOS

You just need to fill Camera Usage Description in Unity Editor.

Go to Unity Editor > Player Settings > iOS > Other Settings > Camera Usage Description > Fill it (any note for your app).

AR Shadow

Download

Email us for purchasing: info@makaka.org.

Getting started from scratch

  1. Go to Edit > Project Settings > Quality.
  2. Choose Default Quality Level for a target platform.
    1. Shadow Projection = Close Fit.
    2. Shadow Distance = 400.
  3. Create Plane (ARGround prefab).
    1. Place plane on the marker (a bit higher) if you use marker AR like Vuforia. If you use markerless AR (e.g. AR Camera GYRO) then place the plane on your origin so you can see the shadows.
    2. Resize plane for all your active area of game action.
    3. Attach ARShadow material with ARShadowSurface shader (AR/ARShadowSurface) to the Plane.
      1. Cutout = 1.
  4. Create Direction Light (ARDirectionalLight prefab).
    1. Intensity = 1.5.
    2. Shadow Type = Soft Shadows.
      1. Strength = 0.323.
      2. Bias = 0.13.
      3. Normal Bias = 0.
      4. Near Plane = 0.9.
    AR Shadow - Directional Light | Manual
    AR Shadow – Directional Light
  5. Press Play and see the AR shadows from objects.

Vuforia

Unity 2017.2 integrates the Vuforia Engine.
You can learn more about new pipeline on Vuforia Developer Portal.

Why does not Vuforia work?

License

  1. Vuforia Developer Portal Develop > License Manager > Get Development Key.
  2. Go to Window > Vuforia Configuration > App License Key > Paste your Key.
  3. File > Save Project.

Build & Run on mobile

If you have errors when you try to make a build for mobile platform:

  • Go to Unity Editor > Player Settings > Target Platform > XR Settings.
  • Check the “Vuforia Augmented Reality Supported”.

Known issues

Support

First of all, read the docs. If it didn’t help, get the support.

Tags

Andrew Sirota

Hi, friend! I am Founder at Makaka Games. I love Augmented Reality.
I am open for communication and ready to implement your craziest ideas.
Today we are Starting a new Experiment.

Related Articles

Leave a Reply