Search Unity

Problem with"Animator is not playing a Playable" log spam

Discussion in 'Animation' started by blah, Apr 3, 2016.

  1. blah


    Mar 21, 2016
    I have a few actors in my scene for which I haven't done the Animator setup yet.
    They still run my common character code which will use Animator.SetBool to set various animation parameters - which of course do nothing for now on those actors.

    However, this results in infinite "Problem with"Animator is not playing a Playable" log spam which is a problem when I'm trying to look for legitimate warnings in the log.

    Is there a way I can anticipate that Animator.SetBool would cause this error (e.g. by somehow checking if the Animator has that anim parameter at all, or whether it is playing a Playable - whatever that actually means in detail), or can I somehow just turn that warning off globally? It's really of absolutely no use to me right now except of spamming the logs - if at all, it would be interesting shortly before release to see if I haven't forgotten to add all animations to all characters in the game and not now during development...