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

Infinite loop freeze/crash in AnimationNodeStateMachine #79059

Closed
Flynsarmy opened this issue Jul 5, 2023 · 2 comments
Closed

Infinite loop freeze/crash in AnimationNodeStateMachine #79059

Flynsarmy opened this issue Jul 5, 2023 · 2 comments

Comments

@Flynsarmy
Copy link
Contributor

Godot version

4.1.rc3.official

System information

Windows 11, Nvidia Geforce RTX 3070 TI

Issue description

AnimationNodeStateMachine is capable of infinite looping resulting in a freeze and eventual crash. While this is happening, the console is being spammed with:

ERROR: Failed method: EditorToaster::_error_handler_impl. Message queue out of memory. Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_mb' in project settings.
at: push_callablep (core/object/message_queue.cpp:96)

This happens when you point animations at each other with no conditions (ie the default state for connections).

Steps to reproduce

  • Add a character to your scene with an AnimationPlayer (with some anims) and AnimationTree
  • Set an AnimationNodeStateMachine as the AnimationTree root.
  • Add two animations, point them at each other, then point Start at the first animation.

Godot will infinite loop and freeze then eventually crash.

Minimal reproduction project

2023-07-05.21-33-26.mp4
@AThousandShips
Copy link
Member

@Flynsarmy
Copy link
Contributor Author

Ah, appears to be a duplicate. Closing

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

4 participants