Adding Mixamo model

Post Reply
Grimston
Posts: 3
Joined: Tue Apr 28, 2020 3:57 pm

Adding Mixamo model

Post by Grimston » Tue Apr 28, 2020 4:03 pm

Hey, first of all, amazing asset.

Having a problem with the Setup of a new character model using a Mixamo character. The error is attached. The character in question is "Gas Mask"

Any ideas?

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
MarsFPSKit.Kit_EditorSetupThirdPerson.BuildCapsules () (at Assets/314 Arts/MarsFPSKit/Scripts/Editor/Kit_EditorSetupThirdPerson.cs:577)
MarsFPSKit.Kit_EditorSetupThirdPerson.OnGUI () (at Assets/314 Arts/MarsFPSKit/Scripts/Editor/Kit_EditorSetupThirdPerson.cs:99)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <90d4bcb003fb405fb09241aed2f178aa>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <90d4bcb003fb405fb09241aed2f178aa>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <90d4bcb003fb405fb09241aed2f178aa>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <90d4bcb003fb405fb09241aed2f178aa>:0)
UnityEditor.DockArea.OldOnGUI () (at <90d4bcb003fb405fb09241aed2f178aa>: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 <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <35bab3c7b0dc4999845bcfccc7758d96>:0)

User avatar
themars2011
Site Admin
Posts: 62
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: Adding Mixamo model

Post by themars2011 » Tue Apr 28, 2020 5:17 pm

Thats strange, the part that throws an error is actually a part that I took from the unity ragdoll builder. A first guess of mine would be that there might already be colliders on your character, can you check for that?
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Grimston
Posts: 3
Joined: Tue Apr 28, 2020 3:57 pm

Re: Adding Mixamo model

Post by Grimston » Wed Apr 29, 2020 11:20 am

Hi,

I do not see a collider on it and I made sure Unity was not generating one on import.

Just in-case I'm blind (I am just starting messing around with Unity, from Xenko/Stride/MonoGame) and I'm doing something wrong
Image

User avatar
themars2011
Site Admin
Posts: 62
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: Adding Mixamo model

Post by themars2011 » Wed Apr 29, 2020 1:11 pm

Thats strange, can you send me this model somehow so I can try it out myself?

Also try one more thing beforehand, try this in an empty scene at the origin (0, 0, 0). Unlikely but could work
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Grimston
Posts: 3
Joined: Tue Apr 28, 2020 3:57 pm

Re: Adding Mixamo model

Post by Grimston » Wed Apr 29, 2020 1:34 pm

Indeed, I have tried it with an empty scene and I have the same issue.

The model is available here: Link was removed maybe paied asset should not be postet! Send PM to Creator!

User avatar
themars2011
Site Admin
Posts: 62
Joined: Mon Dec 02, 2019 8:59 pm
Location: Germany
Contact:
themars2011’s avatar
Loading…

Re: Adding Mixamo model

Post by themars2011 » Wed Apr 29, 2020 8:47 pm

Grimston wrote:
Wed Apr 29, 2020 1:34 pm
Indeed, I have tried it with an empty scene and I have the same issue.
I'll try it out asap and let you know.
Asset links posted by me may be affiliate links using the Unity Affiliate Program and yield a small amount of share at no additional cost for the buyer should a purchase be made.

Post Reply