An Animation asset is used to play a single animation on a 3D model. Animations are imported by uploading 3D scenes (such as FBX files) which contain animation data. The animation data is extracted from the uploaded file by the asset pipeline and a Target Asset is created to use in game.
The inspector has a viewer that can be used to preview the animation with any Template or Model asset. This is useful if you have a single animation that can be applied to different character rigs.
There is also a viewer in the Anim State Graph Editor when you select a state in the graph. When selected, all Entities in the scene that are using the graph will show in a list and can be selected for preview.
Animation Import Settings
When importing animations, there are settings that can be tweaked to adjust the animation quality against the file size.
They can be found in the Project Settings under Asset Tasks.
Only available for GLB export format. When importing an animation, the generated asset name can either be set from the 'Take Name' in the animation file, or use the animation filename instead.
This is useful with assets that are brought/taken from a store such as Mixamo where all the take names are 'mixamo.com' and using the filename as the asset name is clearer.
Available for both JSON and GLB export formats. The higher the rate, the higher detail and fidelity the animation at the cost of size. If you would like to keep the keyframes that have been set and defined in the original animation, select Disabled.
Available for both JSON and GLB export formats. Curve tolerance controls a lossy compression setting of the animation import with the idea that a saving in file size can be made with little or no noticeable difference.
This is a value between 0 and 100 where the higher number, the smaller the file size but at cost of losing information in the animation. 0 would be no compression and 100 would lose all information.
1 or 2 is considered to be good starting point.
Only available for GLB export formats. Enable this option if you wish to keep the easing in the animation curves from the original animation. However, this will mean that the file will have extra information per keyframe and increase the size.
If enabling this option, it is recommended that Sample Rate is disabled and Curve Tolerance is set to 0.