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 Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    2
    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: