Description

This is a trending crash coming out of the 4.17.0 release. Based on user descriptions, this crash occurs on Play or Compile for affected users.

User Descriptions

  • Again crashing when I hit play
  • IF I CLICK PLAY AND ALL BLUEPRINTS WERE NOT SAVE (MAYBE COMPILED) THE EDITOR CRASH ALWAYS
  • aaaaaaaaah
  • 4.17 basically crash all the time, when you compile I need to save 10+ blueprints because they have some forme of reference of the blueprint I changed.
    Change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart -> play normally -> change anything -> compile -> play -> crash editor -> crash report -> restart > play normally -> ...
  • COMPILE = CRASH
  • CRASHING ALL THE TIME WHEN CLICKING IN PLAY IN 4.17
  • The editor is crashing ALL the time when I press PLAY.

Source Context

2694       	/**
 2695       	*	Empty the array, then add uninitialized values to a given size.
 2696       	*	@param	Count: the number of items the array will have on completion.
 2697       	**/
 2698       	void EmptyAndAddUninitializedValues(int32 Count)
 2699       	{ 
 2700       		check(Count>=0);
 2701       		checkSlow(Num() >= 0); 
 2702 ***** 		EmptyValues(Count);
 2703       		if (Count)
 2704       		{
 2705       			AddUninitializedValues(Count);
 2706       		}
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: Count>=0 [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject/UnrealType.h] [Line: 2701]

UE4Editor_CoreUObject!FScriptArrayHelper::EmptyAndAddUninitializedValues() [unrealtype.h:2703]
UE4Editor_CoreUObject!UArrayProperty::CopyValuesInternal() [propertyarray.cpp:457]
UE4Editor_CoreUObject!FObjectInitializer::InitProperties() [uobjectglobals.cpp:3036]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [uobjectglobals.cpp:2751]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [uobjectglobals.cpp:2662]
UE4Editor_CoreUObject!UClass::CreateDefaultObject() [class.cpp:2688]
UE4Editor_CoreUObject!UClass::GetArchetypeForCDO() [class.cpp:3692]
UE4Editor_CoreUObject!UObject::GetArchetypeFromRequiredInfo() [uobjectarchetype.cpp:20]
UE4Editor_CoreUObject!UObjectBaseUtility::IsDefaultSubobject() [uobjectbaseutility.cpp:418]
UE4Editor_CoreUObject!<lambda_7ef57e7a10f7079ed044395ae4b2f71d>::operator() [obj.cpp:118]
UE4Editor_CoreUObject!ForEachObjectWithOuter() [uobjecthash.cpp:705]
UE4Editor_CoreUObject!UObject::GetDefaultSubobjects() [obj.cpp:123]
UE4Editor_CoreUObject!FObjectDuplicationHelperMethods::GatherDefaultSubobjectsForDuplication() [uobjectglobals.cpp:1833]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() [uobjectglobals.cpp:2006]
UE4Editor_CoreUObject!StaticDuplicateObject() [uobjectglobals.cpp:1917]
UE4Editor_UnrealEd!FBlueprintCompileReinstancer::MoveCDOToNewClass() [kismetreinstanceutilities.cpp:1491]
UE4Editor_Kismet!MoveSkelCDOAside() [blueprintcompilationmanager.cpp:1854]
UE4Editor_Kismet!MoveSkelCDOAside() [blueprintcompilationmanager.cpp:1862]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::FlushCompilationQueueImpl() [blueprintcompilationmanager.cpp:504]
UE4Editor_Kismet!FBlueprintCompilationManagerImpl::CompileSynchronouslyImpl() [blueprintcompilationmanager.cpp:188]
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [kismet2.cpp:750]
UE4Editor_UnrealEd!FInternalPlayLevelUtils::ResolveDirtyBlueprints() [playlevel.cpp:1850]
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [playlevel.cpp:2385]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [playlevel.cpp:1218]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1549]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:396]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3215]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-48456 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions4.17
Target Fix4.17.1
Fix Commit3580978
CreatedAug 15, 2017
ResolvedAug 16, 2017
UpdatedApr 27, 2018
View Jira Issue