加载WP关卡时报错!Weightmap || Weightmap->bForceMiplevelsToBeResident

Hi,

升级到5.6之后,我们有部分关卡打开以后,加载WP区域的时候,产生了这个错误。

`LoginId:4cad088849245ba1f187b18f0f719d5d
EpicAccountId:557fe8565cf34dc8a4e6773efd348490

Assertion failed: !Weightmap || Weightmap->bForceMiplevelsToBeResident [File:F:\UE_\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp] [Line: 2264]

UnrealEditor_Core!FDebug::CheckVerifyFailedImpl2() [F:\UE_\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:728]
UnrealEditor_Landscape!ULandscapeComponent::UpdatePhysicalMaterialTasks() [F:\UE_\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:2261]
UnrealEditor_Landscape!ALandscapeProxy::UpdatePhysicalMaterialTasks() [F:\UE_\Engine\Source\Runtime\Landscape\Private\Landscape.cpp:6871]
UnrealEditor_Landscape!ULandscapeSubsystem::Tick() [F:\UE_\Engine\Source\Runtime\Landscape\Private\LandscapeSubsystem.cpp:859]
UnrealEditor_Engine!FTickableGameObject::TickObjects() [F:\UE_\Engine\Source\Runtime\Engine\Private\Tickable.cpp:196]
UnrealEditor_Engine!UWorld::Tick() [F:\UE_\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1582]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [F:\UE_\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1941]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [F:\UE_\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:533]
UnrealEditor_CthulhuEditor!UCthuEditorEngine::Tick() [D:\cthulhuproject-sparse-checkout\CthulhuGame\Source\CthulhuEditor\CthuEditorEngine.cpp:28]
UnrealEditor!FEngineLoop::Tick() [F:\UE_\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5625]
UnrealEditor!GuardedMain() [F:\UE_\Engine\Source\Runtime\Launch\Private\Launch.cpp:187]
UnrealEditor!GuardedMainWrapper() [F:\UE_\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:128]
UnrealEditor!LaunchWindowsStartup() [F:\UE_\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!WinMain() [F:\UE_\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:339]
UnrealEditor!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32`现在关卡没有办法打开了,我们想了解下,应该如何修复这个问题?

我们搜索了相关的资料,发现有提到自定义WorldPartitionLandscapePhysicalMaterialBuilder导致类似的问题,但是我们并没有自定义过。只是打开WP关卡时候,加载部分区域,就Crash了。

这是相关的Log​

你好,主干有个CL43461007你们合一下看下

好的,我们也刚找到这个提交。我们合一下看看。

Hi,

我们合并了这个提交:https://github.com/EpicGames/UnrealEngine/commit/5b24a4be8ba2e398915fdcf4c8831387d5e4c884

没有解决问题

依然崩溃:

[Image Removed]Log也提供了。

可能得注掉这个check先绕过了,我看内部这个问题也不好重现,如果能提供个重现方式协助我们调查一下最好了​

:downcast_face_with_sweat: 看来暂时只能先把check注释掉了。我们目前是能100%触发这个问题,但是不好拆出来可复现的工程。场景太大了。

我能理解,我看看后面能不能复现这种情况来着