microsoft / MRLightingTools-Unity

A Unity library and MRTK extension for estimating and replicating the current environment's lighting on Mixed Reality devices.
MIT License
188 stars 25 forks source link

Triggers API Updater at build and removes MRTK from the toolbar #11

Open sjaugmented opened 3 years ago

sjaugmented commented 3 years ago

Running Unity 2019.4 and using WMR, when building with LightingTools imported, triggers the Unity API Updater. After building, MRTK is no longer in the menu (maybe the Updater is removing it?), and on play I get these errors and my hand inputs are completely gone:

NullReferenceException: Object reference not set to an instance of an object
Microsoft.MixedReality.Toolkit.Input.HandJointUtils.FindHand[T] (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness) (at Assets/MRTK/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs:52)
Microsoft.MixedReality.Toolkit.Input.HandJointUtils.TryGetJointPose[T] (Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose& pose) (at Assets/MRTK/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs:26)
Microsoft.MixedReality.Toolkit.Input.HandJointUtils.TryGetJointPose (Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose& pose) (at Assets/MRTK/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs:18)