FBX import error from Maya "Unsupported infinity mode"

hi guys!

I make a game based on the 2D gameplay tutorial from the Unity team, but I get this error on my animated character…

ImportFBX Warnings:
Unsupported infinity mode (2) is used for PreExtrapolation. Only kClampForever (i.e. KFCURVE_EXTRAPOLATION_CONST) is supported.

UnityEditor.DockArea:OnGUI()

What does that mean?

thanks

Do you have a screen or file we could give look at your Outliner in Maya?

First thing: it’s not a error, but it’s a warning.
Second thing: if your animation looks as you expect it to look, then there is nothing to worry.

Full explanation:
On every curve you can set curve-extrapolation-mode, which controls how curve is extrapolated after last keyframe. Maya (and other tools) has various extrapolation modes, like const, repeat, mirror, add and so on. Unity supports only const (which means after last keyframe it uses value from last keyframe - the curve is flat line). So if curve-extrapolation-mode is set to anything than const Unity will give you a warning, because it ignores the setting.
In most cases it doesn’t affect your animation, because people in most cases have keyframes in the start and end of animation (or they don’t use weird extrapolation modes). I probably should improve the warning condition - it shouldn’t show it when it knows that your animation won’t be affected.

Paulius is right.
Main question is, why do we even get this warning, since all keys are baked and thus first and last?