Ue4 crashes when opening level

ue4 crashes when i use console command restarlevel or open level. both worked for a very long time now they crash

Are you using a dedicated server?
Because I had a similar problem with a dedicated server. It started but fell at the connection to the level. The reason for this was Cast from player character to custom character.