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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Character moves only when animation preview is on

Discussion in 'Animation' started by professionjay, May 18, 2022.

  1. professionjay

    professionjay

    Joined:
    Jan 21, 2022
    Posts:
    3
    Hello, I've got problem about animator.
    I wanted to make character on canvas walk automatically, so I inserted animation with 4 images, and used RectTransform.Translate node with visual-scripting.
    However, when I played it, only the animation looped, and character didn't move.
    It moved only when I inactivated animator or when animation preview is on.
    To solve the bug, I replaced the visual-scripting nodes, played game with different options, and even changed name of all animator nodes and files, but the problem still remained.
    Here's image of my nodes. '속도' means 'speed', and '이동' means 'move'. Just in case, the names weren't related to the problem at all. (It means although I changed names with English, the problem didn't solve.)
    Hope someone can solve my problem.
     

    Attached Files: