Disable blueprint's construction script / Stop it from compiling when opening it in editor. (Editor Freezes)

MIKE BB
Wed, 07 Feb 2024 23:24:45 +0000
Blueprint

Hi, I have a blueprint class that spawns different meshes (through construction script) and actors (in the event graph under BeginPlay). While working in one of its functions, I made a mistake and created an infinite loop: The editor freezed when I compiled.
Now, whenever I click on the blueprint or try to edit it, the whole Editor freezes. I found a log saying that it went over 1 million repetitions in a specific function.

I realized that whenever I try to open the blueprint, UE compiles it, causing the whole editor to freeze.

This is a problem since I know the function that has the loop with issues, but I cannot edit it since opening the blueprint editor compiles and freezes everything.

I was wondering if there is a way to disable its construction script, or stoping the blueprint to compile whenever I open it.

I need to edit the blueprint without UE running or compiling it.
I am really trying to avoid recreating it since it is quite a long script.

5 posts - 3 participants