Closed ashwin911 closed 1 year ago
Did some additional testing, this fix causes unwanted behavior like animations stopping completely or weird mesh deformations. But it does prevent crashes caused by the -1 index
Hey @ashwin911, thanks for the PR. Just rebased it to branchfeature/v0.3.4
.
Can you let me know what scenario created the -1 bug or you? I think the change makes sense, but I'm curious to what is creating the scenario in the first place.
Closing due to lack of response. Feel free to open another PR if you think this is still an issue.
check if IdToIndex doesn't return -1 in SingleClipStateUtils.UpdateSamplers and LinearBlendStateUtils.UpdateSamplers