Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations in Animation Trees state machine are not looping #72446

Closed
LeonStansfield opened this issue Jan 31, 2023 · 4 comments
Closed

Animations in Animation Trees state machine are not looping #72446

LeonStansfield opened this issue Jan 31, 2023 · 4 comments

Comments

@LeonStansfield
Copy link
Contributor

Godot version

4.0 beta 16 (also 15, 14)

System information

Windows 11, foreward+ renderer, Dell XPS 13 Plus (integrated graphics), 12th Gen Intel(R) Core(TM) i7-1280P, 1800 Mhz, 14 Core(s), 20 Logical Processor(s)

Issue description

Animations are not looping when running the project while using the AnimationTree and skeletal animations. The animations will loop as expected in the editor, but when running do not loop.
The works as expected from beta 13 and earlier. This does not seem to affect non-skeletal animations. As seen in the video.

bug.report.mp4

Steps to reproduce

Open MRP, and play main scene, observe how animations do not loop in the game, but do in the editor.

Minimal reproduction project

bug.zip

@TokageItLab
Copy link
Member

Should not spamming travel(). See also #71418.

if state_machine.get_current_node() != "On_floor":
	state_machine.travel("On_floor")

bug_fixed.zip

@TokageItLab TokageItLab closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
@TokageItLab TokageItLab added this to the 4.0 milestone Jan 31, 2023
@LeonStansfield
Copy link
Contributor Author

LeonStansfield commented Jan 31, 2023 via email

@Zireael07
Copy link
Contributor

@LeonStansfield The answer to the why question is, because animation tree was reworked in the PR #71418, as to why the PR was necessary, go to it to find out in details

@TokageItLab
Copy link
Member

TokageItLab commented Jan 31, 2023

I have received so many same inquiries so I sent #72450 PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants