Skip to content

Setting nonexistent properties on AnimationTree fails silently #1350

Description

@ValiantMaverick

Tested versions

Reproducible in Redot 26.2

System information

N/A affects all systems

Issue description

animation_tree.set("headbob_intensity", headbob_amt)
should produce an error but instead fails silently. This property does not exist. The correct code should be:
a_tree.set("parameters/headbob_intensity/blend_amount", headbob_amt)

Steps to reproduce

Call set() on any animation tree using a nonexistent property. This will fail silently.

Minimal reproduction project (MRP)

fail.zip

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions