AnimationPlayer doesn’t interpolate shader parameter

In Godot 4.2.1, an AnimationPlayer won’t interpolate a new shader parameter track due to godotengine/godot#87040:

TokageItLab:

As noted in #75125 (comment), as long as it is an initial value, the Variant type is not properly assigned, so keying to the initial value seems to insert Nil.

The workaround for this is edit all key frames in all animations with null values to a value different from the initial value. This causes the type to be assigned properly. After this is done, the value can be set back to the default value.

History