Description

This crash is a regression from 4.22.3 (CL-7053642). If lighting is built by selecting "Build Lighting Only" the Editor will not crash. This does not reproduce on Windows with -vulkan.

This was reported and tested in 4.23 (CL-8386587) and reproduced in Main 4.24 (CL-8748626)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Click on the Floor and move it so lighting must be rebuilt
  3. Click the Build button to build everything

Results: Editor crashes

Expected: The Editor doesn't crash

Callstack
Assertion failed: TaskDataArray.Num() == Exporter->VolumetricLightmapTaskGuids.Num() [File:/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/Lightmass/ImportVolumetricLightmap.cpp] [Line: 956] 
Import Volumetric Lightmap failed: Expected 2871007232 tasks, only found 2897073292


0x00007f50c2a73063 libUE4Editor-Core.so!FGenericPlatformMisc::RaiseException(unsigned int) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp:413]
0x00007f50c2e69ed4 libUE4Editor-Core.so!FUnixErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Private/Unix/UnixErrorOutputDevice.cpp:70]
0x00007f50c2c6e80b libUE4Editor-Core.so!FOutputDevice::LogfImpl(char16_t const*, ...) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp:71]
0x00007f50c2c08c46 libUE4Editor-Core.so!AssertFailedImplV(char const*, char const*, int, char16_t const*, __va_list_tag*) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:101]
0x00007f50c2c08ad4 libUE4Editor-Core.so!FDebug::CheckVerifyFailedImpl(char const*, char const*, int, char16_t const*, ...) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp:442]
0x00007f50bbe018d0 libUE4Editor-UnrealEd.so!FLightmassProcessor::ImportVolumetricLightmap() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/Lightmass/ImportVolumetricLightmap.cpp:956]
0x00007f50bbe16627 libUE4Editor-UnrealEd.so!FLightmassProcessor::CompleteRun() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/Lightmass/Lightmass.cpp:3398]
0x00007f50bc10610f libUE4Editor-UnrealEd.so!FStaticLightingSystem::FinishLightmassProcess() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingSystem.cpp:2170]
0x00007f50bc105ca4 libUE4Editor-UnrealEd.so!FStaticLightingManager::ProcessLightingData() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingSystem.cpp:167]
0x00007f50bc10c986 libUE4Editor-UnrealEd.so!FStaticLightingSystem::UpdateLightingBuild() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingSystem.cpp:2298]
0x00007f50bc10bfe3 libUE4Editor-UnrealEd.so!FStaticLightingManager::UpdateBuildLighting() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingSystem.cpp:343]
0x00007f50bc1195e3 libUE4Editor-UnrealEd.so!UEditorEngine::UpdateBuildLighting() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/StaticLightingSystem/StaticLightingSystem.cpp:2452]
0x00007f50bb8467c4 libUE4Editor-UnrealEd.so!FBuildAllHandler::ProcessBuild(TWeakPtr<SBuildProgressWidget, (ESPMode)0> const&) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp:1022]
0x00007f50bb8429cd libUE4Editor-UnrealEd.so!FEditorBuildUtils::EditorBuild(UWorld*, FName, bool) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp:419]
0x00007f50b0d67214 libUE4Editor-LevelEditor.so!TBaseStaticDelegateInstance<void ()>::ExecuteIfSafe() const [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h:852]
0x00007f50bdc28fe7 libUE4Editor-Slate.so!FUICommandList::ExecuteAction(TSharedRef<FUICommandInfo const, (ESPMode)0>) const [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Framework/Commands/UICommandList.cpp:102]
0x00007f50bdcf683e libUE4Editor-Slate.so!SToolBarButtonBlock::OnClicked() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp:298]
0x00007f50bdd651b4 libUE4Editor-Slate.so!TBaseSPMethodDelegateInstance<false, SToolBarButtonBlock, (ESPMode)0, FReply ()>::Execute() const [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h:293]
0x00007f50bdd93dec libUE4Editor-Slate.so!SButton::ExecuteOnClick() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Widgets/Input/SButton.cpp:379]
0x00007f50bdda7e40 libUE4Editor-Slate.so!SButton::OnMouseButtonUp(FGeometry const&, FPointerEvent const&) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Widgets/Input/SButton.cpp:303]
0x00007f50bdc07f8f libUE4Editor-Slate.so!FSlateApplication::RoutePointerUpEvent(FWidgetPath const&, FPointerEvent const&) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:5708]
0x00007f50bdbc9300 libUE4Editor-Slate.so!FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent const&) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:6312]
0x00007f50bdc0f452 libUE4Editor-Slate.so!FSlateApplication::OnMouseUp(EMouseButtons::Type, FVector2D) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:6285]
0x00007f50be0c8e16 libUE4Editor-ApplicationCore.so!FLinuxApplication::ProcessDeferredMessage(SDL_Event) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp:358]
0x00007f50be0c86e1 libUE4Editor-ApplicationCore.so!FLinuxPlatformApplicationMisc::PumpMessages(bool) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxPlatformApplicationMisc.cpp:415]
0x0000000000239d23 UE4Editor!FEngineLoop::Tick() [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:4169]
0x0000000000246ef3 UE4Editor!GuardedMain(char16_t const*) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Launch/Private/Launch.cpp:175]
0x00007f50bad61122 libUE4Editor-UnixCommonStartup.so!CommonUnixMain(int, char**, int (*)(char16_t const*), void (*)()) [/home/qa/UnrealEngine-4.23.0-release/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:239]
0x00007f50ba786b97 libc.so.6!__libc_start_main(+0xe6)
0x000000000022a029 UE4Editor!_start()

Have Comments or More Details?

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

5
Login to Vote

Duplicate
ComponentPlatform - Linux
Affects Versions4.234.24
Target Fix4.23.1
CreatedSep 17, 2019
ResolvedOct 2, 2019
UpdatedOct 10, 2019