This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

AnimatorJobExtensions.ResolveAllStreamHandles

Declaration

public static void ResolveAllStreamHandles(Animator animator);

Parameters

animator The Animator instance the method is called on.

Description

Newly created handles are always resolved lazily on the next access when the jobs are run. To avoid a cpu spike while evaluating the jobs you can manually resolve all handles from the main thread.