The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Detecting Motion Controllers in Unity
I'm having trouble detecting the Microsoft Motion Controllers in a Unity scene. I'm using Unity 2017.2b9 with Windows OS Build 16257.1, with the HP Mixed Reality Headset. I check for Motion Controller firmware updates at the beginning of every development period and confirm that they are working with the Windows Mixed Reality Portal before moving on to Unity.
Currently I have an default test scene with a Main Camera controlled by a Mixed Reality headset, a textured cube, and a GameObject with a script using Windows-Specific APIs in accordance to this tutorial. Right now the script just polls for the interaction sources each frame, with an Update() method containing:
var interactionSourceStates = InteractionManager.GetCurrentReading();
Debug.Log("Num Interaction Source States: " + interactionSourceStates.Length);
This debug statement is returning length 0. I've also attempted to use the InteractionManager input events using the example presented in the Motion Controller tutorial, with no success at detection. The headset works and I can see the textured cube. Once I hit the Windows button on the controllers while in Unity and return to the portal, I can successfully see the Motion Controllers and they work just fine.
Attempting to use the Headset and Controller emulator on the desktop in conjunction with the Unity project just crashes my computer with a runtime error at Program: C:\WINDOWS\system32\dwm.exe.
Anything that could help me get in the right direction?