How to Fix the Missing Assembly Reference for Microsoft Hololens Emulator in Unity

I wanted to try out the HoloLens emulator while waiting for my chance to purchase the physical unit, but was stopped dead in my tracks with some setup issues. Here’s how I fixed the issue.


When you click “Play” in Unity, you receive an error like, “Assets/Holograms/Support/Fitbox/Fitbox.cs(2,2): error CS0234: The type or namespace name ‘WSA’ does not exist in the namespace ‘UnityEngine.VR’. Are you missing an assembly reference?” Your first warning was when you opened the tutorial files and you received this message that you ignored:

Unity missing assembly reference

There are actually a couple things you may need to fix.


First, you need the special technical preview of the Unity editor, not your regular editor. Secondly, you’ll need to head to GitHub and download the updated version of the Unity project. Microsoft created the tutorial with an old version of Unity. The original files on the Microsoft Developer Hololens Tutorial are old. You’ll need the latest version of the Unity editor and project files. The special version won’t overwrite your current editor. You can have both installed at the same time.


  1. Download and install the Unity editor for Hololens.
  2. Install the UWP Runtime.
  3. Download
  4. Unzip the file
  5. Copy the Assets & ProjectSetting folder into your Origami folder. It should overwrite the existing Assets & ProjectSettings folders.