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

Using advance() has no effect on Discrete animation tracks and stops playback #85315

Closed
KoBeWi opened this issue Nov 24, 2023 · 0 comments · Fixed by #85366
Closed

Using advance() has no effect on Discrete animation tracks and stops playback #85315

KoBeWi opened this issue Nov 24, 2023 · 0 comments · Fixed by #85366

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Nov 24, 2023

Godot version

4.2 1ba920f

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

func _ready() -> void:
	$AnimationPlayer.play("new_animation")
	$AnimationPlayer.advance(0)

The animation has a single track with Update Mode set to discrete. It does not play, no matter the argument used.
Removing advance() will make it play.

Works correctly in rc1.

Steps to reproduce

  1. Run MRP on master
  2. Run MRP in 4.2 rc1

Minimal reproduction project

brokedvance.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