GENERAL
ROTORS
DocumentationBAS 1.0

Editor guide

Preview Bake Cache

Inspect and control the local cache used by Humanoid animation previews.

Concept

The preview bake cache stores reusable sampled Humanoid animation for Editor previews.

In BAS

Saved source clips can use local disk entries after an Editor restart. Unsaved data uses the memory cache only.

Changed sources, models or settings can require another preview bake. This cache is separate from saved graph preparation. Clearing it removes reusable preview samples, not the source animation.

Example

Inspect the local cache size in preferences when managing preview sample storage.

  1. Clip, model and settingsIdentify the preview inputs
  2. Preview bakeStore reusable samples locally
  3. Later previewReuse the matching samples
A matching later preview can reuse the samples. Changed inputs can require another bake.
Definition source

Editor/PreviewBakeCache/PreviewBakeCacheSettings.cs

Editor

Editor view

Preview Bake Cache preferences with size limit and clear button
The cache size shown here is for this project. Clearing the cache removes local preview samples. Select the image to open it at full size.

Open the tool

Open Edit > Preferences > Burst Animation System > Preview Bake Cache.

Cache settings

The Clip, Blend Space and Montage previews can reuse matching sampled Humanoid clips. Saved sources can use the local disk cache after an Editor restart.

Changed sources, target models or preparation settings can require another preview bake. Unsaved data uses the memory cache only.

Control or sectionFunction
EnabledKeep and reuse sampled preview clips.
Size limit (MB)Set the local disk limit. Older unused entries can be removed when the limit is exceeded.
Current sizeRead the current local cache size.
Clear preview bake cacheRemove reusable preview samples. Later previews can sample them again.

Move an old preview record

For an older standalone preview record, select it in Project. Its Inspector shows its animation asset, Skeleton, preview model and preview base.

Select Move Settings and Remove This File to move the data into the current storage. BAS retains existing local choices and shared defaults and writes a recovery copy to Library.

Basic procedure

  1. Open the cache preferences.
  2. Read the current size and configured limit.
  3. Change the limit or clear the cache only when required.

Saved data

  • Preview bake cache data is local under Library/BAS/PreviewBakes.
  • Current preview selections use Library/GeneralRotors/BurstAnimationSystem/PreviewContexts. Shared Skeleton and preview defaults belong to the animation asset.

Requirements and limits

  • Clearing this cache makes later previews sample the clips again. Saved graph preparation uses its own data.
Reference details

These instructions describe BAS 1.0 in Unity 6000.3.7f1.

Related Editor types: PreviewBakeCacheSettings, AssetPreviewContextEditor.

General Rotors ยท Burst Animation System 1.0