unreal engine stops responding while applying a material

When ever I have a blueprint, I try to apply a material Bu then it just freezes if zI click on a material e.g grass if im applying or not.