Developer Notes

Expected crash. This is happening because users are copying their BaseLightmass.ini from old builds into 4.18. Just like all ini's, it must match the code used with it.

Description

This is a trending crash coming out of the 4.18 Previews. Users have not provided any description of their actions when the crash occurred.

Source Context

 1857       	const FVector ImportanceExtent = CombinedImportanceVolume.GetExtent();
 1858       	// Guarantee cube voxels.  
 1859       	// This means some parts of the volumetric lightmap volume will be outside the lightmass importance volume.
 1860       	// We prevent refinement outside of importance volumes in FStaticLightingSystem::ShouldRefineVoxel
 1861       	const float MaxExtent = FMath::Max(ImportanceExtent.X, FMath::Max(ImportanceExtent.Y, ImportanceExtent.Z));
 1862       
 1863       	OutSettings.VolumeMin = CombinedImportanceVolume.Min;
 1864       	const FVector RequiredVolumeSize = FVector(MaxExtent * 2);
 1865       
 1866       	verify(GConfig->GetInt(TEXT("DevOptions.VolumetricLightmaps"), TEXT("BrickSize"), OutSettings.BrickSize, GLightmassIni));
 1867 ***** 	verify(GConfig->GetInt(TEXT("DevOptions.VolumetricLightmaps"), TEXT("MaxRefinementLevels"), OutSettings.MaxRefinementLevels, GLightmassIni));
 1868       	verify(GConfig->GetFloat(TEXT("DevOptions.VolumetricLightmaps"), TEXT("VoxelizationCellExpansionForGeometry"), OutSettings.VoxelizationCellExpansionForGeometry, GLightmassIni));
 1869       	verify(GConfig->GetFloat(TEXT("DevOptions.VolumetricLightmaps"), TEXT("VoxelizationCellExpansionForLights"), OutSettings.VoxelizationCellExpansionForLights, GLightmassIni));
 1870       	verify(GConfig->GetFloat(TEXT("DevOptions.VolumetricLightmaps"), TEXT("MinBrickError"), OutSettings.MinBrickError, GLightmassIni));
 1871       	verify(GConfig->GetFloat(TEXT("DevOptions.VolumetricLightmaps"), TEXT("SurfaceLightmapMinTexelsPerVoxelAxis"), OutSettings.SurfaceLightmapMinTexelsPerVoxelAxis, GLightmassIni));
 1872       	verify(GConfig->GetBool(TEXT("DevOptions.VolumetricLightmaps"), TEXT("bCullBricksBelowLandscape"), OutSettings.bCullBricksBelowLandscape, GLightmassIni));
 1873       	verify(GConfig->GetFloat(TEXT("DevOptions.VolumetricLightmaps"), TEXT("LightBrightnessSubdivideThreshold"), OutSettings.LightBrightnessSubdivideThreshold, GLightmassIni));
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: GConfig->GetInt(TEXT("DevOptions.VolumetricLightmaps"), TEXT("BrickSize"), OutSettings.BrickSize, GLightmassIni) 
[File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Editor\UnrealEd\Private\Lightmass\Lightmass.cpp] [Line: 1867]

UE4Editor_ApplicationCore!FWindowsErrorOutputDevice::Serialize() [windowserroroutputdevice.cpp:65]
UE4Editor_UnrealEd!FLightmassExporter::SetVolumetricLightmapSettings() [lightmass.cpp:1868]
UE4Editor_UnrealEd!FLightmassProcessor::InitiateExport() [lightmass.cpp:2573]
UE4Editor_UnrealEd!FStaticLightingSystem::InitiateLightmassProcessor() [staticlightingsystem.cpp:2041]
UE4Editor_UnrealEd!FStaticLightingSystem::BeginLightmassProcess() [staticlightingsystem.cpp:703]
UE4Editor_UnrealEd!FStaticLightingManager::CreateStaticLightingSystem() [staticlightingsystem.cpp:303]
UE4Editor_UnrealEd!UEditorEngine::BuildLighting() [staticlightingsystem.cpp:2301]
UE4Editor_UnrealEd!FBuildAllHandler::ProcessBuild() [editorbuildutils.cpp:1025]
UE4Editor_UnrealEd!FEditorBuildUtils::EditorBuild() [editorbuildutils.cpp:427]
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::Build_Execute() [leveleditoractions.cpp:635]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [stoolbarbuttonblock.cpp:306]
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() [delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() [tuple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:282]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5264]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5253]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5755]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5735]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1725]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2171]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:888]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:725]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3220]
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-50499 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.18
Target Fix4.18
Fix Commit3673313
Release Commit3673313
CreatedSep 28, 2017
ResolvedSep 29, 2017
UpdatedApr 27, 2018