Losing Materials after a renamed Revit model (Datasmitfile)

Does anyone know a solution to avoid losing the material after the revit model has been renamed? I export a datasmith from Revit and overwrite the current Datasmith file. But then all materials have disappeared in Twinmotion.

In lumion, as an example, this went well.

I have the same issue. Keep the same name file, I mean the Revit file which you transfer the first time.