MasterNin ECSAnimator
On this page

Quick Start

Run the small integration fixture, then convert your character. ECS Prefab is our reusable EntityDesc character asset. You use it with the supplied spawner or runtime API; it does not copy gameplay scripts into ECS.

1. Run the small integration fixture

  1. Import ECSAnimator through Package Manager > My Assets. For a supplied .unitypackage, use Assets > Import Package > Custom Package. A UPM .tgz uses Add package from tarball. Install one copy and wait for compilation.
  2. In Package Manager > ECSAnimator > Samples, import Quick Start. Find NewcomerQuickStart.prefab under Assets/Samples/ECSAnimator/<version>/Quick Start/.
  3. Use a lit URP or HDRP scene. Enable SRP Batcher and Graphics > BatchRendererGroup Variants > Keep All. Use one active camera tagged MainCamera, Display 1, with no Target Texture or XR. HDRP requires Linear color space.
  4. Open Tools > ECSAnimator > Settings. If missing, click Create global settings (Motion ON).
  5. Drag NewcomerQuickStart.prefab into the scene and enter Play. Use WASD and 1/2/3 for Attack/Hit/Death. Keyboard controls require Active Input Handling: Input Manager (Old) or Both; with Input System only, the character stays in Idle.

Expected result: a small, flat rectangular test mesh, not a finished soldier. WASD moves it; 1/2/3 exercises combat requests. It is a code-integration fixture, so pose changes are deliberately minimal. For the fully modeled characters shown on the product page, use the Demos sample below. If invisible, check the camera, lighting, pipeline and settings first; use Troubleshooting for the next check.

For the modeled character demos, import Demos, stop Play and choose Tools > ECSAnimator > Demos > Use URP Preview or Use HDRP Preview. Use the profile matching your project. See pipeline setup before installing both pipeline packages in an older host.

2. Use your own character

GameObject Prefab converts into an ECS Prefab character asset and spawns Entities

  1. Save a skeletal character Prefab with an Animator and Controller. Create Assets > Create > ECSAnimator > Lit Material, transfer its surface properties and assign it to the source renderers. For a normal map, set Normal Enabled = 1. Native URP/Lit and HDRP/Lit materials are not automatically converted.
  2. For this example, add a Float Speed, plus Idle/Run states. Use Speed > 0.1 to enter Run and Speed < 0.1 to return to Idle. Turn Has Exit Time off on these two transitions. Save the Controller and Prefab.
  3. Open Tools > ECSAnimator > Convert Character. Assign Character Prefab, resolve blocking findings and click Build.

The screenshots use a copy of the supplied TownGuard with a simple Idle/Run Controller. You can use your own compatible rig.

Convert window with a saved character Prefab assigned

Expected result: Build completed and a selected *_EntityDesc.asset, normally beside your Prefab. This is your ECS Prefab. Referenced textures and Shaders must remain available.

Generated EntityDesc character asset selected in Unity

  1. Add SimpleCharacterExample to an empty GameObject. Assign EntityDesc, set Speed Parameter to Speed, and use DefaultWorld for one live World. Enter Play and move with WASD. Multiple-World projects use NamedWorld with the exact World name.

SimpleCharacterExample with EntityDesc and Speed assigned

Expected result: your converted character moves and switches between Idle and Run. Instances share character resources and have their own transforms and animation controls.

3. Connect your game

Disable Read Keyboard and call SetVelocity(float3) or write SimpleCharacterVelocity from ECS. The example handles spawning and cleanup. Choose your next route in Gameplay integration.

Root Motion, BlendShapes and Unity Animator IK callbacks are not converted. Optional ECS IK has a separate setup. Read known issues and the support matrix before adopting additional source features.