Timeline Missing shown in Animation window after setting animationClip. setCurve

  • I need to create Timeline dynamically , but I have a problem , Please help me have a look
  • Timeline and track are both dynamically generated, but the curvesPos 0 shown on the animator, which I think is related to missing on the anmation
  • help help help


6996224--826511--upload_2021-4-1_16-20-41.png
code

The property name is case sensitive.

You wrote m_position.y. It should be m_Position.y

Yes, I’ve tried, but it’s still the same.
Is there anything else I should pay attention to.
Thanks

This is created by the code:
6999413--827075--upload_2021-4-2_9-43-20.png.
This is created by the Timeline editor:
6999413--827090--upload_2021-4-2_9-47-41.png