Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

Assertion failed: bSuccess [Link Removed] [Line: 390]

Source Context:

 376       	{
  377       		if (!FFileHelper::SaveStringToFile(*HeaderSource, *ConversionRecord.GeneratedHeaderPath))
  378       		{
  379       			bSuccess &= false;
  380       			ConversionRecord.GeneratedHeaderPath.Empty();
  381       		}
  382       		HeaderSource->Empty(HeaderSource->Len());
  383       	}
  384       	else
  385       	{
  386       		ConversionRecord.GeneratedHeaderPath.Empty();
  387       	}
  388       
  389       	check(bSuccess);
  390 ***** 	if (bSuccess)
  391       	{
  392       		GetManifest(PlatformName).GatherModuleDependencies(ForConversion->GetOutermost());
  393       	}
  394       
  395       	BackendPCHQuery.Unbind();
  396       }
  397       
  398       void FBlueprintNativeCodeGenModule::GenerateStubs()
  399       {
  400       	TSet<TAssetPtr<UBlueprint>> AlreadyGenerated;
  401       	while (AlreadyGenerated.Num() < StubsRequiredByGeneratedCode.Num())
  402       	{
  403       		const int32 OldGeneratedNum = AlreadyGenerated.Num();
  404       		for (TAssetPtr<UBlueprint>& BPPtr : StubsRequiredByGeneratedCode)
  405       		{

Most recent user affected CL: 3039270

This is a commandlet crash.

Steps to Reproduce

Try to nativize an blueprint that generates compilation error.

Callstack
UE4Editor_BlueprintNativeCodeGen!FBlueprintNativeCodeGenModule::GenerateSingleAsset() [blueprintnativecodegenmodule.cpp:391]
UE4Editor_BlueprintNativeCodeGen!FBlueprintNativeCodeGenModule::GenerateFullyConvertedClasses() [blueprintnativecodegenmodule.cpp:297]
UE4Editor_UnrealEd!UCookOnTheFlyServer::CookByTheBookFinished() [cookontheflyserver.cpp:3941]
UE4Editor_UnrealEd!UCookOnTheFlyServer::TickCookOnTheSide() [cookontheflyserver.cpp:2058]
UE4Editor_UnrealEd!UCookCommandlet::NewCook() [cookcommandlet.cpp:1375]
UE4Editor_UnrealEd!UCookCommandlet::Main() [cookcommandlet.cpp:679]
UE4Editor_Cmd!FEngineLoop::PreInit() [launchengineloop.cpp:1780]
UE4Editor_Cmd!GuardedMain() [launch.cpp:114]
UE4Editor_Cmd!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor_Cmd!WinMain() [launchwindows.cpp:200]
UE4Editor_Cmd!__scrt_common_main_seh() [exe_common.inl:264]
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-35051 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Runtime
Affects Versions4.124.13
Target Fix4.14
Fix Commit3120752
Main Commit3131171
Release Commit3159180
CreatedAug 22, 2016
ResolvedSep 12, 2016
UpdatedApr 27, 2018