The last transform does not export correctly by script no matter what I set “optimizeAnimations” to.
Exporting from the GUI with “Do Not Optimize Animations” = true and the last transform shows.
From this point on it also shows when exporting using scripting.
Basically there is no way to export the last transform using scripting unless it is first exported from the GUI with “Do Not Optimize Animations” = true.
Thanks, I see the issue now, looks like we overwrite our export parameters for optimizeAnimations with the value saved to the scene, I’ll publish a PR shortly.