Problem statement
Hi,
Recently upgraded to 4.1 from 3.8 and we have a specific issue that only appears after the upgrade.
We are using the following code to freeze a SkeletonGraphic on the first frame of the animation
void OnEnable()
{
m_skeletonGraphic.Initialize(true);
m_skeletonGraphic.AnimationState.SetAnimation(0, animation, false);
m_skeletonGraphic.freeze = true;
}
It used to work perfectly, now the graphic just shows the entire atlas used in the material instead.
If we put this code into a Coroutine and WaitForEndOfFrame before freezing, it works again, but that is not ideal.
Also tried to call .Update(), .Rebuild() before freeze, to no avail.
Thanks for your help
Runtime information
Using Spine 4.1