Hello,
A game I am working on has been having an issue with the version published to steam where a crash occurs only on the very initial launch after installing that seems to be related to localization engine code. Subsequent launches and the crash is not hit again, only the initial launch.
We are having a hard time reproducing this issue, leading me to believe some sort of temp file is being created that avoids the crash on subsequent launches. However this is just a guess and has so far not helped to reproduce it.
Specifically an access violation exception is being hit in ICUCulture.cpp in the function ExtractNumberFormattingRulesFromICUDecimalFormatter. Full callstack from the log below along with a couple of preceding lines for context.
We have yet to properly implement localization data for the game and I’m wondering if that is the cause, but its a wild guess without a way to reliably reproduce the crash. Since its only on very initial launch it will be a bad thing to have for launch so need help with this asap!
Many thanks for any help someone can provide.
LogInit: Using OS detected language (en-US).
LogInit: Using OS detected locale (en-US).
LogPaths: Warning: No paths for game localization data were specifed in the game configuration.
LogInit: Warning: No paths for engine localization data were specifed in the engine configuration.
LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the language.
LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the locale.
LogWindows: Warning: CreateProc failed: The system cannot find the file specified. (0x00000002)
LogWindows: Warning: URL: ../../../Engine/Binaries/Win64/CrashReportClient.exe "/AppData/Local/GameName/Saved/Crashes/UE4CC-Windows-18E4F7CF4374E5CABE511687E820CC32_0000" -AppName=UE4-GameName -CrashGUID=UE4CC-Windows-18E4F7CF4374E5CABE511687E820CC32_0000 -DebugSymbols=..\..\..\Engine\Intermediate\Symbols
LogWindows: Could not start CrashReportClient.exe
LogMemory: Platform Memory Stats for WindowsNoEditor
LogMemory: Process Physical Memory: 128.34 MB used, 128.37 MB peak
LogMemory: Process Virtual Memory: 120.16 MB used, 120.37 MB peak
LogMemory: Physical Memory: 6490.78 MB used, 9848.39 MB free, 16339.16 MB total
LogMemory: Virtual Memory: 512.95 MB used, 9848.39 MB free, 134217728.00 MB total
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Fatal error!
LogWindows: Error:
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000
LogWindows: Error:
LogWindows: Error: [Callstack] 0x000000005271FD31 GameName-Win64-Shipping.exe!`anonymous namespace'::ExtractNumberFormattingRulesFromICUDecimalFormatter() [c:\projects\unrealengine\engine\source\runtime\core\private\internationalization\icuculture.cpp:634]
LogWindows: Error: [Callstack] 0x00000000527205BE GameName-Win64-Shipping.exe!FCulture::FICUCultureImplementation::GetDecimalNumberFormattingRules() [c:\projects\unrealengine\engine\source\runtime\core\private\internationalization\icuculture.cpp:708]
LogWindows: Error: [Callstack] 0x000000005275F9E9 GameName-Win64-Shipping.exe!FText::AsNumberTemplate() [c:\projects\unrealengine\engine\source\runtime\core\private\internationalization\text.cpp:534]
LogWindows: Error: [Callstack] 0x000000005273589E GameName-Win64-Shipping.exe!FText::AsNumber() [c:\projects\unrealengine\engine\source\runtime\core\private\internationalization\text.cpp:518]
LogWindows: Error: [Callstack] 0x00000000529CE1AF GameName-Win64-Shipping.exe!EKeys::Initialize() [c:\projects\unrealengine\engine\source\runtime\inputcore\private\inputcoretypes.cpp:584]
LogWindows: Error: [Callstack] 0x0000000052A9A6EB GameName-Win64-Shipping.exe!FSlateApplication::Create() [c:\projects\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:884]
LogWindows: Error: [Callstack] 0x0000000052A9A654 GameName-Win64-Shipping.exe!FSlateApplication::Create() [c:\projects\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:877]
LogWindows: Error: [Callstack] 0x0000000052527471 GameName-Win64-Shipping.exe!FEngineLoop::PreInit() [c:\projects\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:1717]
LogWindows: Error: [Callstack] 0x0000000052523439 GameName-Win64-Shipping.exe!GuardedMain() [c:\projects\unrealengine\engine\source\runtime\launch\private\launch.cpp:127]
LogWindows: Error: [Callstack] 0x000000005252DFBA GameName-Win64-Shipping.exe!GuardedMainWrapper() [c:\projects\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
LogWindows: Error: [Callstack] 0x0000000054711F07 GameName-Win64-Shipping.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
LogWindows: Error: [Callstack] 0x00000000E0AF1FE4 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000E0C2EFC1 ntdll.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000E0C2EFC1 ntdll.dll!UnknownFunction []
LogWindows: Error:
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1)