Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

Assertion failed: Pair != nullptr [Link Removed] [Line: 520]

Source Context:

4190       DependencyIndex = ExportToIndexMap.FindRef(DependentObject);
 4191       }
 4192       // otherwise we need to save an index into the ImportMap
 4193       else
 4194       {
 4195       // ... find the associated ImportIndex
 4196       DependencyIndex = ImportToIndexMap.FindRef(DependentObject);
 4197       }
 4198       
 4199       #if WITH_EDITOR
 4200       // If we still didn't find index, maybe it was a duplicate export which got removed.
 4201       // Check if we have a redirect to original.
 4202       if (DependencyIndex.IsNull())
 4203       {
 4204 ***** DependencyIndex = ExportToIndexMap.FindRef(DuplicateRedirects[DependentObject]);
 4205       }
 4206       #endif
 4207       // if we didn't find it (FindRef returns 0 on failure, which is good in this case), then we are in trouble, something went wrong somewhere
 4208       checkf(!DependencyIndex.IsNull(), TEXT("Failed to find dependency index for %s (%s)"), *DependentObject->GetFullName(), *Object->GetFullName());
 4209       
 4210       // add the import as an import for this export
 4211       DependIndices.Add(DependencyIndex);
 4212       }
 4213       }
 4214       }
 4215       
 4216       
 4217       
 4218       if ( EndSavingIfCancelled( Linker, TempFilename ) ) 
 4219       { 

Most recent user affected CL: 2946394

Logs:
[Link Removed]
[Link Removed]
[Link Removed]

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_CoreUObject!UPackage::Save() [savepackage.cpp:4205]
UE4Editor_UnrealEd!UEditorEngine::Save() [editorengine.cpp:3890]
UE4Editor_UnrealEd!UCookOnTheFlyServer::SaveCookedPackage() [cookontheflyserver.cpp:2802]
UE4Editor_UnrealEd!UCookOnTheFlyServer::TickCookOnTheSide() [cookontheflyserver.cpp:2261]
UE4Editor_UnrealEd!UCookCommandlet::NewCook() [cookcommandlet.cpp:1241]
UE4Editor_UnrealEd!UCookCommandlet::Main() [cookcommandlet.cpp:565]
UE4Editor_Cmd!FEngineLoop::PreInit() [launchengineloop.cpp:1698]
UE4Editor_Cmd!GuardedMain() [launch.cpp:110]
UE4Editor_Cmd!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor_Cmd!WinMain() [launchwindows.cpp:200]
UE4Editor_Cmd!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-30189 in the post.

7
Login to Vote

Unresolved
ComponentCore
Affects Versions4.114.154.194.214.22
Fix Commit4414631
Main Commit4450599
CreatedMay 2, 2016
ResolvedOct 3, 2018
UpdatedJun 21, 2019