# Common Issues

***

## Cinemachine and Camera Errors

If by any chance,when importing the asset to Unity 6, you are getting these errors from the ThirdPersonFollowTarget script.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FihU6zDXaJjhocptcYidA%2F610e89b58d53c0e75f3a43d108b98a16.png?alt=media&#x26;token=daa79e15-6534-4e6d-8f4e-d906f9db3573" alt=""><figcaption></figcaption></figure>

Please make sure you remove **Cinemachine2** from the Package manager, install **Cinemachine3**, and upgrade the prefabs here:

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F6fofMjiBfZk6HvscWvG9%2Fimage.png?alt=media&#x26;token=e9a560d9-0723-4bb4-ab37-460569f9a8ab" alt="" width="563"><figcaption></figcaption></figure>

## The animal is not moving

You are making a custom animal, but when you try to move it, it does the animations, but won't move forward. Most of the time, the animations you are using are not RootMotion.&#x20;

​

![](https://files.gitbook.com/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MdONPIJ1QOeCasfwqVA%2F-MdOPWOEj0SRdFUuQon7%2FDZELWU0e1t.gif?alt=media\&token=aac05421-115f-4bb0-9d84-df858c56d184)

Check this [**Tutorial**](https://malbersanimations.gitbook.io/animal-controller/how-to-ac/movement-no-rm-anims)**.**

***

## The animal is falling near the ground

If the animal starts to **fall** for no reason, it should be because the **Ground Layer** in the animal controller is set to Nothing, or the layer of the Game Objects considered ground is set to a different layer.

The Default value for the Ground Layer is *Default*. You must add your other ground Layers to the Animal **Ground Layer Mask**.​&#x20;

![Ground Layer is set to Nothing](https://lh6.googleusercontent.com/pgOFAielD0y9cHgVhd9L0mQhZ_CNG2v0ACs4od7jiTErDnP18kp0p6hKXrEJ3fb-RpgdZx3mit7WTZ95FPRLlMMm7BENq6g_1DnPfqPFsh4uoY8Qk_v4TlOpaqt5l82mYeHJGvrF)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FzOqYizKYPqwG6ligQaWQ%2Fimage.png?alt=media\&token=509fddc2-424b-4b62-a2b1-506cb242b113)

***

## States are not getting active or are \[Pending] (Missing Tag)

When the state does not get active, or the state goes to the **Pending** state, usually the reason is that The **Animation tag** is not properly set.

Make sure the Animation Tag matches your State :

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FpCYkrs3CyLtUDkGeTVed%2Fimage.png?alt=media&#x26;token=a385d56f-1efd-42f7-9f9e-9fc703e25081" alt="" width="474"><figcaption><p>Name of the State tag is the ID Name</p></figcaption></figure>

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FdmwJriaxJyW7LzX6CnKB%2Fimage.png?alt=media&#x26;token=a5336988-7644-4fd6-a784-ce10e576dd0c" alt=""><figcaption><p>This name must match on the Animation State Tag</p></figcaption></figure>

{% hint style="warning" %}
The tags are **case-sensitive**. E.g. make sure you set **Locomotion**, instead of **locomotion**
{% endhint %}

***

## The Character slides on Slopes

If the character slides when it's on slopes, make sure the Main Collider is not touching the ground. The Animal Controller works with a floating Main Collider. Make sure the collider is set from the Hip to the Head

The Interaction with the ground is calculated using rays

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FIwdnQe0zTNFW5WOve8QU%2FUnity_L5PUYsUvWM.gif?alt=media&#x26;token=4c95ef39-489d-4546-abdd-a5beb1506bf0" alt=""><figcaption></figcaption></figure>

***

## The character jitters when it moves

{% embed url="<https://streamable.com/yukptq>" %}

If the character jitters, ensure the Brain Camera is set to Fixed Update and the Animator Controller is set to Animate Physics.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F35rhu5TJ6P1Cze7HiK4v%2Fimage.png?alt=media&#x26;token=15ebe834-0a47-4429-b01b-86ff30a3f45e" alt="" width="499"><figcaption></figcaption></figure>

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FCWIsL4Qc5zqoPVEVNpDJ%2Fimage.png?alt=media&#x26;token=68a9974e-866d-40b1-b80a-131097dd67b0" alt=""><figcaption></figcaption></figure>
