[Solved]AnimationClip.SetCurve error


I am using Unity 3.4.2f3 and I am making my own object importer to load Meshes at runtime.
So far I have no issues with creating the mesh and bones procedurally with the data from the file. But when I add the animation curves, every time I add a curve of “local.position.y” I get this in the log

“dx == 0.0F”

Can anyone explain what is happening. I have no errors with the other curves


Forget it.
I found the solution to the issue, which is the weirdest thing because the documentation is not very clear on this.

“localPosition.y” does not work but “m_localposition.y” does and I had to change all animation curve names