Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question UI Image - what would prevent animater from displaying?

Discussion in 'Animation' started by OddHouseGames, Jan 1, 2021.

  1. OddHouseGames

    OddHouseGames

    Joined:
    Oct 2, 2018
    Posts:
    8
    Hi All,

    I have an animation that plays perfectly in a scene, but when I add the animator to a Unity UI image, it doesn't seem to display/play, not sure what I am missing here.

    I was able to get animation into the Unity menu using this https://gist.github.com/almirage/e9e4f447190371ee6ce9

    But from what I understand, I should just be able to add an animator to an Unity image UI and pop in a controller.

    Is there something that would prevent the animation from displaying during gameplay?

    Thanks for any help and apologies if I have missed this posted elsewhere, I did my best to search it out.
     
  2. OddHouseGames

    OddHouseGames

    Joined:
    Oct 2, 2018
    Posts:
    8
    All sorted, somehow the sprite animation was saying missing component, but removing the frames and re-adding them fixed the problem.

    Is there anyway to close or delete threads here?