Unity Assets

AR + VR 2.0: Mixed Reality (MR) with Google Cardboard XR Plugin

AR + VR: Mixed Reality (MR) Camera — Unity Asset that uses Google Cardboard XR Plugin (former Google VR SDK) to display 2D or 3D objects as though they were in the real world mixing Virtual Reality and Augmented Reality. It’s Unity MR Camera for 80% of all Mobile Devices.

Unity Asset Store | Download Button

Features of AR + VR: Mixed Reality (MR) Camera

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

  • Cross-platform Mobile MR Camera: iOS, Android.
  • 3-minute installation for your own AR + VR Scene.
  • Covering a wide range of mobile devices.
  • Google Cardboard XR Plugin (former Google VR SDK) to implement Virtual Reality.
  • No using of other AR Engines like Unity AR Foundation, ARCore, ARKit, Vuforia, etc.
  • Real-Time AR Shadows (docs).
  • Basic Editor Testing.
  • Gaze-based Reticle Pointer (2 Non-Animated States).

Mixed Reality adds virtual elements the physical world and surround you game objects being in full immersion with VR Headset.

Package Contains

All modules are designed independently to keep this asset extendable & easy to understand:

  • Demo in Mixed Reality of Interaction with Objects which have AR Shadows (docs): shader is included.
  • Separate Scene with Camera Permission Request using free Native Camera;


Getting Started with AR + VR: Mixed Reality (Unity MR)

Folders & Files in package by default:

  • Makaka Games;
  • Plugins;
  • XR.


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 2019.4.17.
  2. Build Settings > iOS or Android > Switch Platform.
  3. Next Packages must be manually installed with Git & Unity Package Manager:
    1. Native Camera 1.2.7;
    2. Google Cardboard XR Plugin for Unity 1.4.1.
      1. Project Settings > XR Plug-in Management > Select Cardboard XR Plugin under Plug-in Providers for both: iOS & Android.
  4. Download and import AR + VR: Mixed Reality (MR) into Unity.
    1. Warning Windows:
      1. Click “Import” to overwrite the Project Settings with predefined ones.
      2. Click “Install/Upgrade” for Package Manager Dependencies.
  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 Unity Package Manager:
    1. TextMesh Pro 2.1.3:
      1. Always Required: Window > TextMeshPro > Import TMP Essential Resources;
    2. XR Legacy Input Helpers 2.1.7;
    3. XR Plugin Management 3.2.16;
  6. Reopen Unity Project.
  7. Open Scene: Makaka Games > MR > MR Camera > Scenes > Demo.
  8. Test in the Unity Editor or Build for Mobile.

If you are new to Google Cardboard XR Plugin for Unity, check following guide.

Each Unity Asset included in AR + VR: Mixed Reality (MR) has its own documentation in target folder or on the website (the latest docs).

VR Only Mode

MR Camera, unlike Google Cardboard XR Plugin, provides Editor Testing and Gaze-based Reticle Pointer. So if you want to use the asset without AR, in VR Only mode, do next in Demo Scene:

  1. Delete “AR Background” from the scene.
  2. Player MR > Main Camera > Clear Flags > Skybox.
  3. AR Ground > Mesh Renderer > Materials > Set to “Default Material” or whatever you want.

Known Issues & Solutions

Google Cardboard XR Plugin is still under development. If you have any issues on its side then try to Search Solutions on GitHub:

No Stereo View & Freezed Game Object on Device

So, if you accurately followed all points in tutorial above then try next:

  1. Remove XR Plugin Management package from Unity Package Manager.
  2. Build for Mobile Device.

If you have no success then install XR Plugin Management package from Unity Package Manager and build again.

Cardboard XR Plugin must be checked for your Platform in Project Settings > XR Plugin Management > iOS/Android.


You can test the project in the Unity Editor this way:

  • Right Mouse Button for Camera Movement.
  • Left Mouse Button for Simulating of Pressing the Cardboard trigger button this frame (Google.XR.Cardboard.Api.IsTriggerPressed) — Tested for Screen Touches on Mobile Device.

Unity Editor doesn’t provide Stereo View.

Debug Logging of Gaze-based Reticle Pointer

Gaze-based Reticle Pointer shows is there a Game Object (specially prepared for VR like in Demo Scene) in front of Camera.

To understand the state of Pointer you can turn on Debug Logging in CameraPointerCustom.cs component of Main Camera game object.

Mobile Devices

Real Testing is only on Real Device.

Tested with Smartphones & Google Cardboard with Unity’s Built-in Render Pipeline (not URP):

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


Google Cardboard for AR with Camera Hole — Mixed Reality — AR + VR
Google Cardboard for AR + VR with Camera Hole


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


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



Unity Assets

Support for Unity Assets

I am Andrey Sirota, Founder of Makaka Games and full-time Publisher on 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