My animation sharing setup(Animation Sharing Plugin) is not creating blend states. I think i have it setup correctly, but it still wont work. I have looked into AnimationSharingManager.cpp to see if there is some range check, or some other condition, that prevents this from working. Instead I found strange “bug”.
There is const uint8 CurrentState variable(its a state index). after some checks code will arive at line 1414 and
const uint32 OnDemandIndex = bSetupInstance ? SetupOnDemandInstance(CurrentState) : INDEX_NONE;
is called. And the the CurrentState value is changed to a “random” value! This new value is often out of range as state index.
It seems odd to me. Can i get some feedback on this?? Is this a bug or i completely overlooked something? PS: I can upload sample project with this behavior.