Hi folks,
I wrote my own StateMachineBehaviour and I’m currently struggling a bit with it.
I applied to the base layer (currently the only one) of my Animator. In Editor-Mode anything works fine.
If I deploy it for Windows Universal 10, it won’t get called anymore.
Now I’m wondering why it behaves like this…
I’m grateful for every hint.
Kind regards,
Florian
It seems a static variable in a MonoBehaviour in combination with CustomEditor caused the Problem…
public class DefaultAnimatorController : MonoBehaviour
{
public static System.Collections.Generic.List<DefaultAnimatorController> ItemsToEnable = DefaultAnimatorController.ItemsToEnable = new System.Collections.Generic.List<DefaultAnimatorController>();
}
By accessing the static List from the Editor’s Class, the animator seems to get broken…
weird…