Skip to content

AnimationPlayer: Editor crashes when clicking on "Interpolation Mode" with nonexistent node path #81769

Closed
@perry-blueberry

Description

@perry-blueberry

Godot version

4.1.1.stable

System information

Ubuntu 22.04

Issue description

The editor crashes when clicking on "Interpolation Mode" when a path points to a none-existing NodePath. I noticed this issue when I duplicated an AnimationPlayer from one scene to another.

I expect some sort of error message but not a crash.

Steps to reproduce

Create a new project with a simple scene and add an AnimationPlayer as a child node. Change a path (tracks/0/path) to something that doesn't exist. Click on the button for "Interpolation Mode".

Minimal reproduction project

AnimationPlayerCrash.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions