I’m getting a crash in editor every time I hit play in editor in a simple scene. I’m on Win10 build 16278.rs3_release. Win SDK 16288. Unity 2017.2.0f1 . I’m using the mixed reality toollkit for Unity Unity 2017.2 branch . I create a scene and add the HoloLensCamera prefab and the InputManager prefab to the scene. Hit play. Crash. I feel like there’s something simple I’m missing since I haven’t seen any reports about this. I can build this scene and run on HoloLens without a problem.
The callstack looks like this :
Assertion failed on expression: ‘NULL != this->ptr’
UnityEngine.XR.WSA.Input.InteractionManager:Initialize(IntPtr)
UnityEngine.XR.WSA.Input.InteractionManager:.cctor() (at C:\buildslave\unity\build\Runtime\VR\HoloLens\ScriptBindings\GestureSource.cs:410)
HoloToolkit.Unity.InputModule.InteractionSourceInputSource:OnEnableAfterStart() (at Assets\HoloToolkit\Input\Scripts\InputSources\InteractionSourceInputSource.cs:250)
HoloToolkit.Unity.InputModule.InteractionSourceInputSource:OnEnableAfterStart() (at Assets\HoloToolkit\Input\Scripts\InputSources\InteractionSourceInputSource.cs:237)
HoloToolkit.Unity.StartAwareBehaviour:Start() (at Assets\HoloToolkit\Utilities\Scripts\StartAwareBehaviour.cs:34)
[C:\buildslave\unity\build\PlatformDependent/Win/ComPtr.h line 84]
(Filename: Assets/HoloToolkit/Input/Scripts/InputSources/InteractionSourceInputSource.cs Line: 250)