Download

Blueprints Keep Crashing Editor

My editor keeps crashing. I’m about to just stop using Unreal Engine altogether because of the editor crashes when using blueprints.

I have a Blueprint Actor class called Spell that a bunch of my other blueprints are children of. Randomly, Spell will not allow my editor to open; it crashes at 93% with the errors below. Every other post I’ve read has said “Migrate everything to a clean project”. Really? Is that the best Unreal Engine has to offer? After putting 200+ hours into this project, I’m supposed to spend another 5+ hours just trying to move it to another project? That’s ridiculous.

Can someone please explain to me what is the problem here?


MachineId:61DA27F246B670C6525505AE2D6108C1
EpicAccountId:79a08cbf1fbd4c1bb36a110756b05cd0

Access violation - code c0000005 (first/second chance not available)

“”

UE4Editor_Core!FText::~FText()
UE4Editor_CoreUObject!TProperty<FText,UProperty>::DestroyValueInternal() [c:\ue4\enginebin\engine\source\runtime\coreuobject\public\uobject\unrealtype.h:956]
UE4Editor_Engine!UBlueprintGeneratedClass::DestroyPersistentUberGraphFrame() [c:\ue4\enginebin\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:599]
UE4Editor_Engine!UBlueprintGeneratedClass::DestroyPersistentUberGraphFrame() [c:\ue4\enginebin\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:618]
UE4Editor_CoreUObject!UObjectBase::SetClass() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:194]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::FBlueprintCompileReinstancer() [c:\ue4\enginebin\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:200]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::Create() [c:\ue4\enginebin\engine\source\editor\unrealed\public\kismet2\kismetreinstanceutilities.h:97]
UE4Editor_UnrealEd!FKismetEditorUtilities::RecompileBlueprintBytecode() [c:\ue4\enginebin\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:911]
UE4Editor_Engine!UBlueprintGeneratedClass::ConditionalRecompileClass() [c:\ue4\enginebin\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:222]
UE4Editor_CoreUObject!<lambda_072ba289e8c4661e71a79ad39cfe69d6>::operator()() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\blueprint\blueprintsupport.cpp:140]
UE4Editor_CoreUObject!FScopedClassDependencyGather::~FScopedClassDependencyGather() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\blueprint\blueprintsupport.cpp:156]
UE4Editor_CoreUObject!FLinkerLoad::CreateExport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3830]
UE4Editor_CoreUObject!FLinkerLoad::IndexToObject() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4014]
UE4Editor_CoreUObject!FLinkerLoad::CreateExport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3537]
UE4Editor_CoreUObject!FLinkerLoad::IndexToObject() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4014]
UE4Editor_CoreUObject!FLinkerLoad::CreateExport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:3537]
UE4Editor_CoreUObject!FLinkerLoad::CreateExportAndPreload() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2693]
UE4Editor_CoreUObject!FLinkerLoad::LoadAllObjects() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2801]
UE4Editor_CoreUObject!LoadPackageInternal() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1033]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2386]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2434]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2434]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::Verify() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1937]
UE4Editor_CoreUObject!FLinkerLoad::FinalizeCreation() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1847]
UE4Editor_CoreUObject!FLinkerLoad::Tick() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:666]
UE4Editor_CoreUObject!FLinkerLoad::CreateLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:404]
UE4Editor_CoreUObject!GetPackageLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linker.cpp:570]
UE4Editor_CoreUObject!LoadPackageInternal() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:937]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2386]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2434]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::Verify() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1937]
UE4Editor_CoreUObject!FLinkerLoad::FinalizeCreation() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1847]
UE4Editor_CoreUObject!FLinkerLoad::Tick() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:666]
UE4Editor_CoreUObject!FLinkerLoad::CreateLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:404]
UE4Editor_CoreUObject!GetPackageLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linker.cpp:570]
UE4Editor_CoreUObject!LoadPackageInternal() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:937]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2386]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2434]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImportInner() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2434]
UE4Editor_CoreUObject!FLinkerLoad::VerifyImport() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2147]
UE4Editor_CoreUObject!FLinkerLoad::Verify() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1937]
UE4Editor_CoreUObject!FLinkerLoad::FinalizeCreation() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:1847]
UE4Editor_CoreUObject!FLinkerLoad::Tick() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:666]
UE4Editor_CoreUObject!FLinkerLoad::CreateLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:404]
UE4Editor_CoreUObject!GetPackageLinker() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\linker.cpp:570]
UE4Editor_CoreUObject!LoadPackageInternal() [c:\ue4\enginebin\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:937]
UE4Editor_UnrealEd!UEditorEngine::Map_Load() [c:\ue4\enginebin\engine\source\editor\unrealed\private\editorserver.cpp:2388]
UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() [c:\ue4\enginebin\engine\source\editor\unrealed\private\editorserver.cpp:5897]
UE4Editor_UnrealEd!UEditorEngine::Exec() [c:\ue4\enginebin\engine\source\editor\unrealed\private\editorserver.cpp:5391]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [c:\ue4\enginebin\engine\source\editor\unrealed\private\unrealedsrv.cpp:743]
UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() [c:\ue4\enginebin\engine\source\editor\unrealed\private\filehelpers.cpp:2014]
UE4Editor_UnrealEd!FEditorFileUtils::LoadDefaultMapAtStartup() [c:\ue4\enginebin\engine\source\editor\unrealed\private\filehelpers.cpp:3215]
UE4Editor_UnrealEd!FUnrealEdMisc::OnInit() [c:\ue4\enginebin\engine\source\editor\unrealed\private\unrealedmisc.cpp:299]
UE4Editor_UnrealEd!EditorInit() [c:\ue4\enginebin\engine\source\editor\unrealed\private\unrealed.cpp:86]
UE4Editor!GuardedMain() [c:\ue4\enginebin\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor!GuardedMainWrapper() [c:\ue4\enginebin\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [c:\ue4\enginebin\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

Its not unreal, it is you. Unreal has exposed pointers and classes as references. And you probably are using it all wrong making memory leak somewhere.
Its quite well sanitized, but they cannot make it all 100% fool proof you somehow managed to create some nodes that crash it.
I had same problem, and sadly once you create some unstable blueprint that creates memory leak there is no way to remove it, somehow magically that memory leak moves to another actor. Well i think its not magical at all, your faulty blueprint by now corrupted several other actors.

I managed to solve that corrupted bp problem by finding which one actor crashes editor. Try finding this out. Deleting that blueprint from editor was inpossible, so i deleted its file physically from harddrive. Then unreal complainedd but it loaded rest of project.

I hope you have backups, if not then learn this lesson now.

I create bacup of whole project (by compressing its whole folder), every time I add major feature. For eg. my Ai guy can turn, I create backup file and name it as: “TPS_v09 - pawn can turn.zip”. With numbers and short description its easier to find later where is that feature i removed that now is needed again.

So do your backups at least once a day.

PS.
For me it was circular reference of several functions in 3 different function libraries. They used structs on top of that. Some functions in library A needed some functions from library B, and some in lib b referenced lib A. Compiling library A made lib B uncompiled and also other way around. Then those functions were used all over project. So everything constantly demanded compiling. They (Epic folks) fixed it all since 4.3. But as result of that mess one quite simple blueprint became corrupted.

I second this, I learned the hard way and I had to redo my entire project after almost 100 hours as well. You need to have at least 5 perfectly functional backups. If your project is 30GB+ and you have limited drive space, then backup only blueprints and not assets. Backing up your projects after finishing any main features will probably be one of the 3 most important things to remember when working within Unreal. I haven’t had a problem with serious problems with corrupted blueprints for years now. I just revert to a backup and I can diagnose from there.

I had a lot of BP crashes. Get a copy of this

it’s free, and helps you find circular dependencies in your code.

It put me on the right path, and I found a massive loop running right through the middle of everything. It -might- be the problem you’re having.