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

Autoplay on Load activates inactive Animation Player #91178

Closed
forager-pixel opened this issue Apr 25, 2024 · 0 comments · Fixed by #91242
Closed

Autoplay on Load activates inactive Animation Player #91178

forager-pixel opened this issue Apr 25, 2024 · 0 comments · Fixed by #91242
Assignees
Milestone

Comments

@forager-pixel
Copy link

forager-pixel commented Apr 25, 2024

Tested versions

Reproducible in 4.3.dev5.official [89f70e9], and 4.2.1.stable.official [b09f793]

System information

Godot v4.3.dev5 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 31.0.15.3699) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

Issue description

When an animation player is inactive, if you have assigned autoplay on load to one of its animations, the player will re-activate. Per the discussion in #91115, this is not the expected behavior. Autoplay on load shouldn't activate an inactive animation player.

Steps to reproduce

Run the MRP. Inspect the animation player for the Character scene. It is set to inactive, but has autoplay on load for the animation idle. Run the project, and then inspect the animation player in the remote scene. Observe that the animation player is now active. You may also remove the autoplay on load flag from the idle animation to observe that the player will remain inactive.

Minimal reproduction project (MRP)

AutoplayOnLoad.zip

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

Successfully merging a pull request may close this issue.

2 participants