UE5 crashes everytime i compile

After carefully deleting all the references in editor and then deleting the material and the connected materials it works!