> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinemation.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# CAS with Unity 2022

> This tutorial explains how to use CAS with Unity 2022.

If you import CAS into a new Unity 2022 project, this error will occur:

```text theme={null}
Assets\KINEMATION\CharacterAnimationSystem\Scripts\Runtime\Playables\AnimationLayeringJobs.cs(27,16): error CS0246: The type or namespace name 'NativeReference<>' could not be found (are you missing a using directive or an assembly reference?)
```

To fix this, make sure to update CAS to the latest version and install the **Collections** package: **Package Manager ▸ Unity Registry ▸ Collections:**

<img src="https://mintcdn.com/kinemation/JeFzhKqzivzKAwnI/images/cas/0efcfbd6a6c2e97888ca.png?fit=max&auto=format&n=JeFzhKqzivzKAwnI&q=85&s=8eb4cf65885eb6806de55e8edba0fcb0" alt="" width={563} data-path="images/cas/0efcfbd6a6c2e97888ca.png" />
