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.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Animator changes scale of object for no reason

Discussion in 'Animation' started by mattbrand, Feb 4, 2015.

  1. mattbrand

    mattbrand

    Joined:
    Jan 16, 2011
    Posts:
    98
    I have a set of sprites that I am animating to make them flash - so I just alpha them from 1.0 to 0.0 and back, in a loop. For some reason, when I use the SetTrigger command to start their animations, their scale gets changed.

    In editor they look fine, but when I deploy to an iPad HD, they look tiny because their scale is fixed, and not resolution dependent.

    I have other objects that I do the same thing to, with a different animation clip, and it works fine.

    I tried deleting the animation and recreating it from scratch, and it still happens.

    Has anyone had this happen? Any ideas on how to resolve it?