Datasmith crashes UE right after generating materials

Do you have the log of the crash you could share with us?
It will be in your project folder /saved/logs

Can you confirm it crashes with .udatasmith file imports too, at the step where materials are generated?
How big is you solidworks assembly?