Unreal Engine freezing with a Procedural Generation blueprint

I’ve got a procedural generation blueprint in an actor and the commented code makes unreal engine freeze sometimes when pressing play.


Any solution? Thx in advance!