A breaking change is going to ship in a few weeks, and this is the announcement for that. Two KSP methods that are currently usable from any scripts will become deprecated and only usable from Plugins:
KeyframeSequenceProvider:GetKeyframeSequence
KeyframeSequenceProvider:GetKeyframeSequenceById
Our metrics suggest that nobody is using these in game, but just in case you are, you should switch to KeyframeSequenceProvider:GetKeyframeSequenceAsync
.
The reason for deprecation & enhanced security is the significant performance issues associated with calling these in a real-time context (although even in the plugin context you are better off using GetKeyframeSequenceAsync
).