microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6.01k stars 2.12k forks source link

Unity 5.6/2017.1 Builds not compatible with 16299 SDK #1386

Closed StephenHodgson closed 6 years ago

StephenHodgson commented 6 years ago

Overview

I noticed that Unity 5.6/2017.1 Builds throw null refs from InputManager when targeting the 16299 SDK. We should probably target 15063 for versions less than 2017.2

Problem Behavior

Null references in InputManager events because the Windows API is targeting the wrong SDK.

UnityEngine.UI.dll!UnityEngine.EventSystems.BaseEventData.selectedObject.get()    Unknown    Non-user code. Skipped loading symbols.
     Assembly-CSharp.dll!HoloToolkit.Unity.InputModule.InputManager.RaiseSourceUp(HoloToolkit.Unity.InputModule.IInputSource source, uint sourceId, HoloToolkit.Unity.InputModule.InteractionSourcePressInfo pressType, object[] tags)    Unknown    Non-user code. Skipped loading symbols.
     Assembly-CSharp.dll!HoloToolkit.Unity.InputModule.InteractionInputSource.InteractionManager_InteractionSourceReleased(UnityEngine.XR.WSA.Input.InteractionSourceReleasedEventArgs args)    Unknown    Non-user code. Skipped loading symbols.
     UnityEngine.VRModule.dll!UnityEngine.XR.WSA.Input.InteractionManager.OnSourceEvent(UnityEngine.XR.WSA.Input.InteractionManager.EventType eventType, UnityEngine.XR.WSA.Input.InteractionSourceState state, UnityEngine.XR.WSA.Input.InteractionSourcePressType pressType)    Unknown    Non-user code. Skipped loading symbols.

Unity Editor Version

5.6.x 2017.1.x

Mixed Reality Toolkit Release Version

272d5fd10c0b836a2a7bcb021a655dcf2288d7e9

keveleigh commented 6 years ago

What does "do not function properly" mean, specifically?

StephenHodgson commented 6 years ago

Updated