LongerWarrior / UEAssetToolkitGenerator

Apache License 2.0
29 stars 10 forks source link

Fix TrackToSkeletonMapTable in anim sequence serializer #36

Closed Buckminsterfullerene02 closed 1 year ago

Buckminsterfullerene02 commented 1 year ago

There are 2 edge cases with this:

  1. The length of the map is longer than the number of bones the skeleton it is being assigned to actually has, causing array out of bounds error during generation
  2. The length of the map is the correct length, but it is missing BoneTreeIndex entries (in any order) that is causing array index to be shorter than it should

Another thing to note: it is OK if the map is out of order.

Buckminsterfullerene02 commented 1 year ago

Models with problem in question are AnimComposites. Not a problem with CAS side.