Previously setting the components in different order results in it overriding component data?
This happened because it incorrectly mapped the index of the column. So it took the index from the source archetype rather than the destination archetype. Essentially changing it to this will fix it:
local targetColumn = destinationColumns[destinationArchetype.records[types[i]]
Previously setting the components in different order results in it overriding component data?
This happened because it incorrectly mapped the index of the column. So it took the index from the source archetype rather than the destination archetype. Essentially changing it to this will fix it:
local targetColumn = destinationColumns[destinationArchetype.records[types[i]]