Avindr / MxM-IssueTracking

7 stars 0 forks source link

Idle Set Animation can't be previewed #178

Closed Chokingen closed 9 months ago

Chokingen commented 1 year ago

When I double-click the animations in Idle Sets, the GUI Error pops out. And the animation in Idle Sets can't be previewed in the MxM Timeline window. But the other animations can be previewed and configured normally. Running under Unity 2021.3.23. image image The packages of my project are as below. image

tadilj commented 1 year ago

This also happens with Animation Data when MxMAnimationModule is used. Unity 2021.3.23f1 Personal Mac Editor.

ShuFengYingt commented 1 year ago

Face the same problem with Unity 2021.3.10f1c2.

Shaun-Fong commented 9 months ago

This error doesn't actually affect the game, but it's still annoying .... If you want to fix, go MotionMatching/Code/MxM/Editor/EditorWindows/MxMAnimationIdleSetWindow.cs , the line 252 and 253 should have End***

EditorGUILayout.BeginVertical();
EditorGUILayout.BeginHorizontal(EditorStyles.toolbar, GUILayout.Height(20f), GUILayout.ExpandWidth(true));

So, Just add

EditorGUILayout.EndHorizontal();
EditorGUILayout.EndVertical();

after line 325. Like this image

Shaun-Fong commented 9 months ago

Another editor side error happen when double click BlendShape animations, go MotionMatching\Code\MxM\Editor\EditorWindows\MxMTaggingWindow.cs line 3042 m_targetMxMAnim.EventMarkers should check if it is null. image

Avindr commented 9 months ago

These issues have been fixed and are included in the update coming this week