Hi all,
For some reason with my Unity Editor I cannot find some animations in the “Player.blend” file. When I open the file in Blender the animations are there. Furthermore, this only happening for me. My team member that is working on the project with me is having zero issues. This is with Unity Editor version 2019.4.17f1. Please let me know how to resolve this issue as we have no clue why this is happening. I am using Windows 10 and the other team member is using Linux Ubuntu 18.04.
The error is below:
MissingReferenceException: The variable replaceableAttackAnimation of CharacterAnimator doesn’t exist anymore.
You probably need to reassign the replaceableAttackAnimation variable of the ‘CharacterAnimator’ script in the inspector.
UnityEngine.Object.get_name () (at <0847a0faf94444ccbaf1958021b27f54>:0)
CharacterAnimator.OnAttack () (at Assets/Scripts/Game/Modules/Character/CharacterAnimator.cs:52)
CharacterCombat.Attack (CharacterStats targetStats, SkillSet targetSkills) (at Assets/Scripts/Game/Modules/Character/Combat/CharacterCombat.cs:120)
EnemyController.Update () (at Assets/Scripts/Game/Modules/Enemy/EnemyController.cs:51)
Essentially when I loaded the updates my team member made, I did not have the animation set in replaceableAttackAnimation
. When I went to set it by hand, the animation “Punch” in the “Player.blend” file was missing. This means I cannot reset the replaceableAttackAnimation
variable to the correct value to get it working. We are collaborating via Unity Teams but we have tried zipping the entire project folder and transferring that to no avail. Player.blend never has the “Punch” animation