Page 1 of 1

Trouble Adding Player

Posted: Thu Nov 14, 2019 12:42 pm
by mikalburrows
Hello everyone, So I've purchased this character pack from the asset store. https://assetstore.unity.com/packages/3 ... ier-111945

I have followed the in editor tutorial to a T for adding a new player, I've tried to add the same player like 6 different times but always ends in same result. As soon as I have everything set up and I try to play a match to test if it works the animations are kind of messed up. The only weapon it does this to is the assault rifle. All other weapons seem to be fine. (See Video Below)

https://drive.google.com/file/d/10TBr6_ ... sp=sharing

Does anybody know what could be causing this, and possibly how to fix it?

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 2:34 am
by websbk
Strange, I have no problems not was Can you that the where the're missing

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 11:15 am
by mikalburrows
websbk wrote: Fri Nov 15, 2019 2:34 am Strange, I have no problems not was Can you that the where the're missing
What?

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 12:08 pm
by Lovatto
If you say the error only happens with the Rifle, then check for any missing animation in the Rifle StateMachine of the Player Animator.

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 1:00 pm
by mikalburrows
Lovatto wrote: Fri Nov 15, 2019 12:08 pm If you say the error only happens with the Rifle, then check for any missing animation in the Rifle StateMachine of the Player Animator.
I'm not sure what animations are supposed to be there and what isn't. I do know that it's looping between Equip and no weapon. So i took screenshots of the inspector of the animations between these two states.
(see screenshots)

EquipState:

Image

EquipState -> NoWeaponState:

Image

NoWeaponState:

Image

NoWeaponState -> EquipState:

Image

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 1:06 pm
by Lovatto
Have you made any modifications to the player animation?
other than replacing the player model which other modification have you made to the player prefabs?

Re: Trouble Adding Player

Posted: Fri Nov 15, 2019 1:17 pm
by mikalburrows
Lovatto wrote: Fri Nov 15, 2019 1:06 pm Have you made any modifications to the player animation?
other than replacing the player model which other modification have you made to the player prefabs?
No modifications have been made to the player animation
Other than replacing the player model I have adjusted
walk speed
jump speed
gravity multiplier
smooth
smooth time

Also this was all done before integrating new player model and worked fine with original model.

Re: Trouble Adding Player

Posted: Sat Nov 16, 2019 3:37 pm
by mikalburrows
I've noticed that after trying to go back to the old player prefab MPlayer1 the animation glitch still persists.

Re: Trouble Adding Player

Posted: Mon Nov 25, 2019 4:11 pm
by mikalburrows
Lovatto could you please help me solve this issue.