PCG Crashes game

Hello. I am creating a game with procedural generation in it, and just recently whenever I try to open the level with procedural generation in it, the game completely crashes. Here is a photo of the message I keep getting when it crashes.
error

Could anyone please help?