Hey @runevision , I was using your Locomotion System asset and when following the tutorial I came across a problem… Everything worked fine until I added the Leg Animator and it said:
NullReferenceException: Object reference not set to an instance of an object
LegAnimator.MonitorFootsteps () (at Assets/Locomotion System Files/Locomotion System/LegAnimator.cs:1888)
LegAnimator.LateUpdate () (at Assets/Locomotion System Files/Locomotion System/LegAnimator.cs:745)
Which took me to here:
private void MonitorFootsteps () {
for (int legNr=0; legNr<legStates.Length; legNr++) {
LegState legState = legStates[legNr];
switch (legState.phase) {
How can I fix this?