This Jira was created from CrashReports submitted by the public due to the high number of occurrences.
Error message:
Assertion failed: InstanceBaseMap.Num() == InstanceBaseInvMap.Num() [Link Removed] [Line: 99]
Source Context:
86 FFoliageInstanceBaseId BaseId = FFoliageInstanceBaseCache::InvalidBaseId; 87 if (InComponent && !InComponent->IsCreatedByConstructionScript()) 88 { 89 BaseId = GetInstanceBaseId(InComponent); 90 if (BaseId == FFoliageInstanceBaseCache::InvalidBaseId) 91 { 92 BaseId = NextBaseId++; 93 94 FFoliageInstanceBaseInfo BaseInfo(InComponent); 95 InstanceBaseMap.Add(BaseId, BaseInfo); 96 InstanceBaseInvMap.Add(BaseInfo.BasePtr, BaseId); 97 98 check(InstanceBaseMap.Num() == InstanceBaseInvMap.Num()); 99 100 ***** ULevel* ComponentLevel = InComponent->GetComponentLevel(); 101 if (ComponentLevel) 102 { 103 UWorld* ComponentWorld = Cast<UWorld>(ComponentLevel->GetOuter()); 104 if (ComponentWorld) 105 { 106 auto WorldKey = TAssetPtr<UWorld>(ComponentWorld); 107 InstanceBaseLevelMap.FindOrAdd(WorldKey).Add(BaseInfo.BasePtr); 108 } 109 } 110 } 111 } 112 113 return BaseId; 114 } 115
Most recent user affected CL: 2946394
Logs:
[Link Removed]
[Link Removed]
[Link Removed]
Repro steps unknown
UE4Editor_Foliage!FFoliageInstanceBaseCache::AddInstanceBaseId() [foliageinstancebase.cpp:101] UE4Editor_Foliage!FFoliageMeshInfo::AddInstance() [instancedfoliage.cpp:892] UE4Editor_FoliageEdit!FEdModeFoliage::AddInstancesImp() [foliageedmode.cpp:1068] UE4Editor_FoliageEdit!FEdModeFoliage::AddInstancesForBrush() [foliageedmode.cpp:1125] UE4Editor_FoliageEdit!FEdModeFoliage::ApplyBrush() [foliageedmode.cpp:1926] UE4Editor_FoliageEdit!FEdModeFoliage::InputKey() [foliageedmode.cpp:2809] UE4Editor_UnrealEd!FEditorModeTools::InputKey() [editormodemanager.cpp:640] UE4Editor_UnrealEd!FEditorViewportClient::InputKey() [editorviewportclient.cpp:2068] UE4Editor_UnrealEd!FLevelEditorViewportClient::InputKey() [leveleditorviewport.cpp:2494] UE4Editor_Engine!FSceneViewport::OnMouseButtonDown() [sceneviewport.cpp:390] UE4Editor_Slate!SViewport::OnMouseButtonDown() [sviewport.cpp:182] UE4Editor_Slate!<lambda_7097b900f0e4be30d80fb18f98c51ea0>::operator() [slateapplication.cpp:4459] UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_7097b900f0e4be30d80fb18f98c51ea0> >() [slateapplication.cpp:214] UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [slateapplication.cpp:4448] UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [slateapplication.cpp:4406] UE4Editor_Slate!FSlateApplication::OnMouseDown() [slateapplication.cpp:4340] UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1353] UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1732] UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:697] UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:619] user32!UserCallWinProcCheckWow() user32!DispatchMessageWorker() UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:884] UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2611] UE4Editor!GuardedMain() [launch.cpp:142] UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126] UE4Editor!WinMain() [launchwindows.cpp:200] UE4Editor!__scrt_common_main_seh() [exe_common.inl:264] kernel32!BaseThreadInitThunk() ntdll!RtlUserThreadStart()
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-30878 in the post.
0 |
Component | UE - World Creation - Worldbuilding Tools - Foliage |
---|---|
Affects Versions | 4.11, 4.12 |
Target Fix | 4.12.4 |
Fix Commit | 3015825 |
---|
Created | May 17, 2016 |
---|---|
Resolved | Jun 16, 2016 |
Updated | Apr 27, 2018 |