Retargeting Configuration Editor no longer works
Following the directions for Body Tracking for Movement SDK, everything works fine until you get to this section: https://developers.meta.com/horizon/documentation/unity/move-body-tracking/#import-a-character
I am using a MakeHuman character with a game engine rig (basic rig)
These seem to be correct from videos/documentation.
The next screen, none of the preview sequences work
As well, there are several errors that happen when the mouse moves across the 3D model view
Errors:
1. IndexOutOfRangeException: Index -1 is out of range of '195' Length.
Unity.Collections.NativeArray`1[T].FailOutOfRangeError (System.Int32 index) (at <7b8172fcdd864e17924794813da71712>:0)
Meta.XR.Movement.Retargeting.SkeletonRetargeter.Update (Unity.Collections.NativeArray`1[T] sourcePose, System.String manifestation) (at ./Library/PackageCache/com.meta.xr.sdk.movement@b0553630bc45/Runtime/Native/Scripts/Retargeting/SkeletonRetargeter.cs:405)
Meta.XR.Movement.Retargeting.CharacterRetargeter.CalculatePose (Unity.Collections.NativeArray`1[T] sourcePose) (at ./Library/PackageCache/com.meta.xr.sdk.movement@b0553630bc45/Runtime/Native/Scripts/Retargeting/CharacterRetargeter.cs:292)
Meta.XR.Movement.Editor.MSDKUtilityEditorPreviewer.DrawPreviewCharacter () (at ./Library/PackageCache/com.meta.xr.sdk.movement@b0553630bc45/Editor/Native/Scripts/MSDKUtilityEditorPreviewer.cs:217)
Meta.XR.Movement.Editor.MSDKUtilityEditorWindow.UpdateSkeletonDraws () (at ./Library/PackageCache/com.meta.xr.sdk.movement@b0553630bc45/Editor/Native/Scripts/MSDKUtilityEditorWindow.cs:1248)
Meta.XR.Movement.Editor.MSDKUtilityEditorWindow.OnSceneGUI (UnityEditor.SceneView sceneView) (at ./Library/PackageCache/com.meta.xr.sdk.movement@b0553630bc45/Editor/Native/Scripts/MSDKUtilityEditorWindow.cs:517)
UnityEditor.SceneView.CallOnSceneGUI () (at <8081513dc2364383b8289d30d2169b2e>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <8081513dc2364383b8289d30d2169b2e>:0)
UnityEditor.SceneView.DoOnGUI () (at <8081513dc2364383b8289d30d2169b2e>:0)
UnityEditor.SceneView.OnSceneGUI () (at <8081513dc2364383b8289d30d2169b2e>: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 <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderTreeManager.RenderSingleTree (UnityEngine.UIElements.UIR.RenderTree renderTree, UnityEngine.RenderTexture nestedTreeRT, UnityEngine.RectInt nestedTreeViewport) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIR.RenderTreeManager.RenderRootTree () (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Render () (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.BaseVisualElementPanel.Render () (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.Panel.Render () (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <58affde3b6cc47f39fa7e8b94d5890c0>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <9fed903c750c40ad88e137acb27455b3>:0)2. GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
These errors persist after closing the configuration editor.
Thank you for reading and for all of these components and hard work put into making a great developer experience!
I realize now I just needed to actually properly add the bones in the configuration editor and then add the Character Retargeter and the meta source data provider and it worked, however I am going to leave this post because those errors are still happening in the editor after using the Retargeter configuration editor. Thank you!