The application crashes when adding ".umap" to the launch map at application launch. If not specify ".umap", it will be able to launch application. There appears to be a failure to parse the URL. The URL parameters indicate that it is optional.
https://docs.unrealengine.com/en-US/Programming/Basics/CommandLineArguments/index.html
It's a regression of 4.25 because it works in 4.24.
Following code is workaround.
FURL::FURL( FURL* Base, const TCHAR* TextURL, ETravelType Type ) { // ... #if 0 (DotIdx != MapExtIdx || FChar::IsAlnum(URLStr[DotIdx+MapExtLen])) && ((DotIdx + 1) != SaveExtIdx || FChar::IsAlnum(URLStr[DotIdx+SaveExtLen+1])) && ((DotIdx + 1) != DemoExtIdx || FChar::IsAlnum(URLStr[DotIdx+4+1])); #else (DotIdx != MapExtIdx || FChar::IsAlnum(URLStr[DotIdx + MapExtLen - 1])) && ((DotIdx + 1) != SaveExtIdx || FChar::IsAlnum(URLStr[DotIdx + SaveExtLen + 1 - 1])) && ((DotIdx + 1) != DemoExtIdx || FChar::IsAlnum(URLStr[DotIdx + 4 + 1 - 1])); #endif }
Result:
Crash and show attached popup.
Expected:
Not crash and open TestMap level.
ReportAssert() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1541] FWindowsErrorOutputDevice::Serialize() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78] FOutputDevice::LogfImpl() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61] AssertFailedImplV() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:100] FDebug::CheckVerifyFailedImpl() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:450] DispatchCheckVerify<void,<lambda_0d1e902b4205814301cca75abd414bf2> >() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:162] FURL::FURL() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Engine\Private\URL.cpp:389] ULocalPlayer::SpawnPlayActor() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Engine\Private\LocalPlayer.cpp:282] UEngine::LoadMap() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:12879] UEngine::Browse() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:12101] UGameInstance::StartGameInstance() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:579] FEngineLoop::Init() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4032] GuardedMain() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Launch\Private\Launch.cpp:155] GuardedMainWrapper() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137] WinMain() [G:\UnrealEngine-4.25.3-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268] __scrt_common_main_seh() [d:\A01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
UMG RichText not appear image when packaged
How do I set a material as a post-processing material?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-96502 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.25 |
Target Fix | 4.26 |
Fix Commit | 14097364 |
---|
Created | Aug 6, 2020 |
---|---|
Resolved | Aug 13, 2020 |
Updated | Feb 16, 2021 |