Windows Mixed Reality HMD Translation not tracked in Unity scene
• Windows 10, version 1809 • Steam VR 1.1.4 • Windows Mixed Reality for Steam VR-Beta (Can’t seem to find a version number) • Unity 2018.3.0f2 • SteamVR Unity Plugin v2.2b4
This is my first time trying to develop for VR in Unity and I am trying to use the Steam VR Interactions example scene; the HMD rotation is tracked just fine but the translation is not tracked at all. Is there some setting I missed?
I can load the example scene in Unity and when I push the play button the Windows Mixed Reality Portal will launch along with Steam VR. The scene will then load properly but the only the HMD rotation is tracked the translation is not. The controllers are not tracked either.
There are over 200 warnings mostly about reference scripts on behaviors missing (I am not sure what that means) but only 2 actual errors.
Assets\SteamVR\WindowsHelper\SteamVR_Windows_Editor_Helper.cs(25,36): error CS1069: The type name 'RegistryKey' could not be found in the namespace 'Microsoft.Win32'. This type has been forwarded to assembly 'Microsoft.Win32.Registry, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
Assets\SteamVR\WindowsHelper\SteamVR_Windows_Editor_Helper.cs(25,64): error CS1069: The type name 'Registry' could not be found in the namespace 'Microsoft.Win32'. This type has been forwarded to assembly 'Microsoft.Win32.Registry, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
Any help would be appreciated.
Thanks!
[1]: /storage/temp/130666-errorlist.png
Answer by AnonUser84727 · Mar 12, 2019 at 08:21 PM
Make sure that in Project Settings > Player > Other > Configuration both the Scripting runtime version and api compatability are set to .net 4.X
Your answer
Follow this Question
Related Questions
How to play games from VR samples with Keyboard and Mouse 0 Answers
Samsung Gear VR – Virtual reality device 1 Answer
[VR] How to make an active rigidbody work in VR, similar to how Nimsony or Boneworks does it? 1 Answer
Why do objects clip through eachother in VR (XR)? (Oculus quest 2) 0 Answers
SteamVR Fading to Blue? 0 Answers