Editor crashing (4.17) when compiling Blueprints (UE-48429)

I’m having this crash issue - wanted to provide additional information about it. When i’m compiling blueprints the editor keeps crashing, i can reproduce the issue every time in my project, however i cannot figure out the issue to create a fresh repo project.

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

UE4Editor_CoreUObject!UObjectBase::IsValidLowLevelFast() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:294]
UE4Editor_Engine!FPersistentFrameCollectorArchive::operator<<() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:1444]
UE4Editor_CoreUObject!UStruct::SerializeBin() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:835]
UE4Editor_Engine!UBlueprintGeneratedClass::AddReferencedObjectsInUbergraphFrame() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:1500]
UE4Editor_CoreUObject!FArchiveHasReferences::FArchiveHasReferences() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\serialization\archivehasreferences.cpp:50]
UE4Editor_CoreUObject!FArchiveHasReferences::GetAllReferencers() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\serialization\archivehasreferences.cpp:87]
UE4Editor_CoreUObject!FArchiveHasReferences::GetAllReferencers() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\serialization\archivehasreferences.cpp:68]
UE4Editor_UnrealEd!FReplaceReferenceHelper::FindAndReplaceReferences() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:89]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:1991]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::BatchReplaceInstancesOfClass() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:1474]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::FlushReinstancingQueueImpl() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:948]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\kismet\private\blueprintcompilationmanager.cpp:191]
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:750]
UE4Editor_Kismet!FBlueprintEditor::Compile() [d:\build++ue4+release-4.17+compile\sync\engine\source\editor\kismet\private\blueprinteditor.cpp:3291]

Update:
I was able to find a work around to solve the crashing issue. You have to disable the CompileManager in 4.17 (DefaultEngine.ini).

[/Script/UnrealEd.BlueprintEditorProjectSettings]
bUseCompilationManager=False

After doing so i was able to compile blueprints again without crashing.

Hello Burnz,

After reading over your post I noticed you mentioned not being able to reproduce this issue in a clean project. Could you provide a simplified zipped down copy of the project that reproduces the crash that you were experiencing so that I could take a closer look?

Hello Burnz,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,

Had the same Problem on 4.17.
A simple Widget with only one Image (No Texture just Black) and 2 Animations (Fading the opacity of the image from 0 to 1) crashed on compiling while other more complex Widgets would still work.

Deactivating the CompilationManager in the projects settings resolved the problem (or rather worked around it).

Project has been upgraded from 4.13 to 4.14, 4.15 and then to 4.17.1.

Hello uexilon,

Thank you for the additional information. However, I was unable to reproduce this issue on our end with the information provided. If you have an example project that you could provide that reproduces this issue, I will be happy to take a closer look.

same problem here, changing setting bUseCompilationManager solved my problem
thx Burnz