Twinmotion import randomly reassigns material

When I'm reloading my .datasmith file after a model change, twinmotion randomly reassigns all of the materials in the newly loaded model. It is very time consuming to reassign materials after every model reload. Is there a fix for this?