Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

No animations when starting too close to actor

Discussion in 'Animation' started by malkere, Jul 9, 2018.

  1. malkere


    Dec 6, 2013
    I have pigs in my game which don't have any attacks so their Animator consist of entry->blendTree and anyState->death (on trigger). So basically the pig is always in the blend tree which is just 1d: Speed, that goes from idle <-> walk <-> run. So there should always be idle, walk, or run, playing, unless the pig is dead which is pretty obvious when it's dead (it's not dead).

    Now I've been working on some new player skills and testing them on pigs, so I've saved right next to a pig so that when I load the game I'm right next to a pig and ready to test my skill changes on him. However the pig doesn't animate. I can see his animator is on, he is on, he is rendering... but he's not animating. If I put about 2m distance between us, he starts animating, and doesn't stop if I get close again. If I save about 2m from him and reload, he animates as normal... stand next to him and reload again.. not animating again...

    Does this make sense in any way? I'm using cull animations completely, but the pig is quite obviously visible. What else can I look into to figure this out?