As an Associate of Unity Asset Store, this website earns from qualifying purchases & contains affiliate links: check the footer for more info.

AR Camera Lite — Unity Asset

AR Camera Lite — Unity Asset that uses Back/Rear Camera & Motion Sensor (Gyroscope or Accelerometer) on the player’s mobile device to display 2D or 3D objects as though they were in the real world. Safety First.

It’s Fast, Markerless, Pseudo Augmented Reality.

Unity Asset Store — Download Button

Features of AR Camera Lite

Bring the enchanting Power of Augmented Reality into your amazing Game or App:

  • Cross-platform Mobile AR Camera: iOS, Android.
  • Covering a Wide Range of Mobile Devices: Such pseudo AR can work on low-budget smartphones.
  • No using of other AR Engines like AR Foundation (ARCore, ARKit), Vuforia, etc.
  • Device Orientations: Portrait, Landscape.
  • Auto Selection of Sensor using Sensor Camera: Gyroscope or Accelerometer.
  • Gyroscope Mode: same AR like in the Pokemon GO game (AR mode, not AR+): 3DoF — it can track rotational motion but not translational.
  • Accelerometer Mode (horizontal rotation is limited): tilting the phone to the left or right rotates the camera around the Y-axis.
  • Instant Launch after granting the camera permission: no need to scan the environment because there is no surface/plane detection.
  • Quick Testing in Unity Editor without a Phone through the Right Mouse Button & WASDQE keys.
  • Real-Time AR Shadows.

Read more about Top AR Engines for Unity.

Package Contains

Check the Map of Unity Assets to choose the product that best suits your needs.

Limitations

Learn Limitations separately for Each Asset included in the package.

Use Cases of AR Camera Lite

AR Shooter (docs).


Tutorial

This tutorial is relevant for AR Camera Lite 5.0+.
Tutorial for the previous version can be found only in the asset folder.

Getting Started with AR Camera Lite

Folders & Files in the package by default:

  • Makaka Games.

Steps

If you have any issues with the first launch then just Reach Support with Invoice Number and Get Help.

If you read this tutorial from PDF, first check the latest docs online to get actual information.

  1. Create New Unity Project with Unity 2022.3.18 & “3D” Template.
  2. File > Build Settings > iOS or Android > Switch Platform.
  3. Next Packages must be manually installed with Git & Unity Package Manager:
    1. Native Camera 1.4.2.
  4. Download and import AR Camera Lite into Unity.
    1. Warning Windows:
      1. Click “Import” to overwrite the Project Settings with predefined ones.
      2. Click “Install/Upgrade” for Package Manager Dependencies.
      3. Click “No” when enabling the backends for the new input system.
  5. Next Packages are provided with Unity Package Manager, and they are already installed for this Asset by default. If packages are missing (Warning Window did not appear) then install them again with Package Manager (advanced settings enabled: “Pre-release Packages”):
    1. TextMesh Pro 3.0.8:
      1. Always Required: Window > TextMeshPro > Import TMP Essential Resources.
    2. Input System 1.7.0.
  6. Reopen Unity Project.
  7. Open Scene: Makaka Games > AR > AR Camera Lite > Scenes > Demo.
  8. Option: Limit the Screen Orientation from Auto (by default) to the Portrait only or Landscape only by indication of appropriate Scene Loading Methods on the corresponding buttons that cause a transition to another scenes. Orientation in the Player Settings is used for the 1st scene in the build.
  9. Test in the Unity Editor or Build for Mobile.

Useful Article: How to Test iOS App without Developer Account?

First, Use the Text Tutorial Above.

Video Tutorial below was made for the old version of AR Camera Lite, but it can be useful to understand how to transform your own scene into AR.


Testing

ARCameraLite is a Prefab Variant of SensorCamera prefab, so learn its Testing Section.

Tested with Platforms

  • iOS on iPhone XS Max.
  • Android on Samsung Galaxy A71.

WebGL is not supported because Camera Feed doesn’t support it, while Sensor Camera supports it. In theory, to support WebGL platform you can integrate a 3rd party asset called Device Camera WebGL instead of Camera Feed and make it work, but this combination was not tested.

Support

First, read the latest docs online.
If it didn’t help, get the support.

Changelog

Check the current version of AR Camera Lite on Asset Store.
The latest versions will be added as soon as possible.

5.0:

Improvements:

4.3:

Improvements:

4.2:

Features:

  • Menu Scene with AR Safety Tutorial.
  • Event: On Initialized Not In Editor.

Improvements:

  • Preventing Camera Rotation in Update() until the Gyro Is Not Initialized. 
  • Modern Standards of Project Settings (based on New Unity Project).
  • Appearing the Demo Scene from the darkness at Start.
  • Unity 2021.1.20.
  • Native Camera 1.3.0.

4.1:

  • Testing Checkboxes:
    • Is Gyro Unsupported Not In Editor Test,
    • Is Gyro Supported In Editor Test,
    • Is Movement WASDQE In Editor Test.
  • Testing Vector3: Movement WASDQE Speed.
  • Events:
    • On Gyro Initialized,
    • On Initialized In Editor.
  • Native Camera 1.2.9.

4.0:

  • Limited Motion with Accelerometer (will be used if the user device has not Gyroscope).
  • Editor Testing with Right Mouse Button.
  • Using of Native Camera to check Camera Permission before the main scene.
  • Unity 2021.1.0.

3.3:

  • New Way of Testing in Unity Editor (On Gyro is not supported) with custom positions and rotations of camera. The phone does not need to be connected to the computer.
  • Tutorial Texts → TextMesh Pro.
  • Unity 2019.3.0.

3.2:

  • Optional Flag: “Is Gyro Disabled On Destroy”.
  • Optional Unity Event “On Gyro Is Not Supported”.

3.1:

  • Unity 2019.1.

3.0:

  • Unity 2018.3;
  • Fix low FPS in Unity Editor;
  • 2 modes with Auto Rotation: Portrait, Landscape.

2.0:

  • ARCameraGYRO prefab (with all stuff inside);
  • AR Shadows.
  • Unity 2017.3.1;
  • AR Background → as independent module;
  • GyroCameraControl.cs not related with GameWorld GameObject.
Unity Assets

Support for Unity Assets

I am Andrey Sirota, Founder of Makaka Games and full-time Publisher on the Unity Asset Store. First, read the latest docs online. If it didn’t help, get the support.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

Back to top button