Avindr / MxM-IssueTracking

7 stars 0 forks source link

Reported errors when auto-detecting footsteps on a new animation #160

Closed Avindr closed 1 year ago

Avindr commented 2 years ago

NullReferenceException: Object reference not set to an instance of an object MxMEditor.MxMFootstepDetector.DetectFootsteps (MxMEditor.IMxMAnim a_mxmAnim, UnityEngine.GameObject a_targetModel, MxMEditor.MxMPreProcessData a_preProcessData, MxMEditor.AnimationModule a_animModule, System.Single a_groundingThreshold, System.Single a_minSpacing, System.Single a_minDuration, System.Single a_maxFootSpeed) (at Assets/Plugins/MotionMatching/Code/MxM/Processors/MxMFootstepDetector.cs:103) MxMEditor.MxMTaggingWindow.DrawUtilityData (UnityEngine.Rect a_areaRect) (at Assets/Plugins/MotionMatching/Code/MxM/Editor/EditorWindows/MxMTaggingWindow.cs:1601) MxMEditor.MxMTaggingWindow.DrawDataArea () (at Assets/Plugins/MotionMatching/Code/MxM/Editor/EditorWindows/MxMTaggingWindow.cs:615) MxMEditor.MxMTaggingWindow.OnGUI () (at Assets/Plugins/MotionMatching/Code/MxM/Editor/EditorWindows/MxMTaggingWindow.cs:177) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <049ca55ee25e4825ba73912e1822b047>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <049ca55ee25e4825ba73912e1822b047>:0) UnityEditor.DockArea.OldOnGUI () (at <049ca55ee25e4825ba73912e1822b047>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.OpenGate () (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <5764fa4c1e494ed58b3db57198e4b0f7>:0) UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <8993825ca73141f8999b26a750e0f11a>:0)

Requires further investigation and reproduction.

Avindr commented 1 year ago

Unable to replicate or determine the source of the original error