I cannot open my map, there's an issue with LandscapeEdit.cpp, how do I fix it?

Hello,

Recently I upgraded my project from UE4.27 to UE5.4.4, the conversion was fine but my project is crashing everytime when I open my map, printing this error:

Assertion failed: Texture->Source.IsValid() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp] [Line: 2421]

UnrealEditor_Landscape!ULandscapeComponent::CreateEmptyTextureMips() [D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:2421]
UnrealEditor_Landscape!ULandscapeComponent::RepairInvalidTextures() [D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:1098]
UnrealEditor_Landscape!ALandscapeProxy::RepairInvalidTextures() [D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:1065]
UnrealEditor_Landscape!ALandscapeProxy::PostLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\Landscape\Private\Landscape.cpp:4358]
UnrealEditor_CoreUObject!UObject::ConditionalPostLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1306]
UnrealEditor_CoreUObject!UObject::PostLoadSubobjects() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1340]
UnrealEditor_CoreUObject!UObject::ConditionalPostLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1285]
UnrealEditor_Engine!UBodySetup::PostLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodySetup.cpp:998]
UnrealEditor_CoreUObject!UObject::ConditionalPostLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1306]
UnrealEditor_CoreUObject!EndLoad() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2262]
UnrealEditor_CoreUObject!LoadPackageInternal'::110’::<lambda_2>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1810]
UnrealEditor_CoreUObject!LoadPackageInternal() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1912]
UnrealEditor_CoreUObject!LoadPackage() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2068]
UnrealEditor_CoreUObject!LoadPackage() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2044]
UnrealEditor_ContentBrowserAssetDataSource!FAssetData::FastGetAsset() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\AssetRegistry\AssetData.h:533]
UnrealEditor_ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewAssetFileItems() [D:\build++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:371]
UnrealEditor_ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewItems() [D:\build++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataCore.cpp:427]
UnrealEditor_ContentBrowserAssetDataSource!UContentBrowserAssetDataSource::BulkEditItems() [D:\build++UE5\Sync\Engine\Plugins\Editor\ContentBrowser\ContentBrowserAssetDataSource\Source\ContentBrowserAssetDataSource\Private\ContentBrowserAssetDataSource.cpp:2207]
UnrealEditor_ContentBrowser!SContentBrowser::OnItemsActivated() [D:\build++UE5\Sync\Engine\Source\Editor\ContentBrowser\Private\SContentBrowser.cpp:3196]
UnrealEditor_ContentBrowser!V::TBaseSPMethodDelegateInstance::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:281]
UnrealEditor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() [D:\build++UE5\Sync\Engine\Source\Editor\ContentBrowser\Private\SAssetView.cpp:4081]
UnrealEditor_ContentBrowser!V::TBaseSPMethodDelegateInstance::ExecuteIfSafe() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
UnrealEditor_ContentBrowser!TDelegate<void __cdecl(TSharedPtr<FAssetViewItem,1>),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:570]
UnrealEditor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,1> >::Private_OnItemDoubleClicked() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:1124]
UnrealEditor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,1> >::OnMouseButtonDoubleClick() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:438]
UnrealEditor_Slate!TArray<TSharedRef<SWindow,1>,TSizedDefaultAllocator<32> >::RemoveAll<TArray<TSharedRef<SWindow,1>,TSizedDefaultAllocator<32> >::Remove'::2’::<lambda_1> >() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:442]
UnrealEditor_Slate!FSlateApplication::RoutePointerDoubleClickEvent() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5773]
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5758]
UnrealEditor_Slate!FSlateApplication::OnMouseDoubleClick() [D:\build++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5721]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2247]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2750]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1919]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:929]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:145]
UnrealEditor!FEngineLoop::Tick() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5850]
UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:180]
UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Did anyone had an issue like this and fixed it?

Thank you!

This is probably a shot in the dark, but UE 5.4 has a bug with textures where they can be missing at runtime or be at a lower LOD and appear blurry. So open up every single texture used by your landscape and find the property “Compression Cache ID” and in the dropdown arrow, click “Generate”. Your texture should be back. Make sure that the Compression settings are correct. UE 5.4 is known for changing this randomly. Save the texture.

Not saying this is the problem, but at least rule it out by following those steps. If you’re just trying to get your project running, you can disable this bug completely by disabling a plugin. I think you need to disable the Oodle Texture plugin.

It was supposed to be fixed in UE 5.4.3, but I was still getting issues. Then I heard it was supposed to be fixed in 5.5 (I’m using that) and while it’s better, it’s not completely gone. Probably fixed so new issues don’t happen, but older textures that already had the issue won’t be automatically fixed.

Also make sure that the “Oodle Texture Sdk Version” is the latest.

1 Like

Hello @Zarbix

Welcome back to the Unreal Engine Community Forum! I wanted to add onto what Alien mentioned(This was a good call from them) and recommend you try moving/deleting your config folder from your project folder and attempt to load it again. (Don’t permanently delete it. You’ll want to put it back if it doesn’t fix the problem) Let me know how it works!

1 Like

Thank you for the reply, however I tried following your steps and none has worked. You were correct regarding the textures, the compression ID was set to 0 for all of them and I needed to generate one new. Deactivating the oodle plugin was not the solution too!

Thank you for the time accorded to my problem @AlienRenders :slight_smile:

Hello @FrostyJas and thank you for the reply, I deleted my config folder and it was not the solution!
I thought about deleting my landscape texture from the 4.27 version of the project and convert it to 5.4 version to bring it back again afterwards

Thank you for the time accorded to my problem!

You don’t actually need an ID if there’s no bug. When the bug exists, generating an ID fixes it. It’s a workaround. Sorry for getting to waste time on that. Just thought it was worth a shot.

It was a good call no worries :slight_smile:

Oh, I see. Did you convert it to the 5.4 and test again? If so, did it resolve the problem?