Editor crashing when starting game.

Hi everyone. I am running in to a problem where whenever I start my game in the editor I crashes.
I have followed a few posts here which suggest deleting DefaultEngine.ini, This has failed.

It is likely to do with a “Forever Loop” which was copying 3 arrays from the players blueprint into the main Inventory widget, which is the parent of all inventory widgets. This forever loop Is however not a real forever loop because it does it on an event tick with a delay of 2 seconds. Once the widget gets destroyed the garbage is collected and it Should be Gone.

I can not investigate if it is only a case of me being S**T at coding or a engine problem because when ever I open any blueprint the editor crashes. (EDIT) This is only the case for inventory main widget its children and worst of all the player blueprint which is what is calling the inventory widget. I can open most other blueprints.

Error messages I get when the editor crashes
LoginId:689c984d45ef64f0b5fa898f8b1f312b
EpicAccountId:3dcf63d27444471d980c9c33ed925411

Unhandled Exception: EXCEPTION_STACK_OVERFLOW

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

When you said something about opening the particular assets are the main cause of the crash, I have 2 guesses. First, your asset is more likely to have some issues in the C++ base mostly failing to compile and causing files to be corrupted. Another is. your security software might prevent this accessing attempt.

Well, for the first issue, there’s nothing much to be done unless you replace it from your source. If it’s the second one then you can try to disable your security software like Windows Defender or something.

Also, your crash report is not full. You can access the full report in your project folder where it has a more detail explanation.

UPDATE
Ok I have managed to fix the bug where the engine crashes when the I press play. I deleted the flies in explorer and removed the reference to it in the player blueprint. Then restored the flies back as I don’t want to lose the work. Now the player blueprint can be opened. I can also start the game

I have solved the problem.
I’m not sure how this worked but what I did was delete all the children of the main class. Then I removed any references to them on the main Inventory widget which could now be opened. I then restored the files back. Which now could also be opened. I will look deeper into my code to stop this from happening again.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.