Description

The Editor will hang when using Russian characters for a text variable in a Blueprint. It seems to occur when using the character "л" is used. Only seems to occur once in a project.

Found in 4.19 CL# 4033788, 4.20 CL# 4369336, 4.22 CL# 4421506

Steps to Reproduce
  1. Open the Editor
  2. Create a Actor Blueprint
  3. Create a Text variable
  4. Compile Blueprint
  5. Change to a Russian Keyboard
  6. Type the phrase: Привет мир жлцуд

Results:
The Editor will hang due to an ensure

Expected:
The ensure would not occur

Callstack
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: !InputKeys.Contains(Key) [File:D:\Main\Engine\Source\Runtime\InputCore\Private\InputCoreTypes.cpp] [Line: 718]
LogOutputDevice: Error: Adding duplicate key 'UnknownCharCode_1078'
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00007ffdc30a8ff6 UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\main\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:236]
LogOutputDevice: Error: [Callstack] 0x00007ffdc2de0084 UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\main\engine\source\runtime\core\private\misc\assertionmacros.cpp:302]
LogOutputDevice: Error: [Callstack] 0x00007ffdc2df11c2 UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalseImpl() [d:\main\engine\source\runtime\core\private\misc\assertionmacros.cpp:433]
LogOutputDevice: Error: [Callstack] 0x00007ffdf9c9a0d2 UE4Editor-InputCore.dll!EKeys::AddKey() [d:\main\engine\source\runtime\inputcore\private\inputcoretypes.cpp:718]
LogOutputDevice: Error: [Callstack] 0x00007ffdf9c9e07f UE4Editor-InputCore.dll!FInputKeyManager::GetKeyFromCodes() [d:\main\engine\source\runtime\inputcore\private\inputcoretypes.cpp:1185]
LogOutputDevice: Error: [Callstack] 0x00007ffdc17889d9 UE4Editor-Slate.dll!FSlateApplication::OnKeyUp() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5123]
LogOutputDevice: Error: [Callstack] 0x00007ffdf2fef3a2 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1714]
LogOutputDevice: Error: [Callstack] 0x00007ffdf2fe29a8 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2249]
LogOutputDevice: Error: [Callstack] 0x00007ffdf2ff1484 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:897]
LogOutputDevice: Error: [Callstack] 0x00007ffdf2fddf29 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:734]
LogOutputDevice: Error: [Callstack] 0x00007ffe16ceb85d USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffe16ceb1ef USER32.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffdf2ff29d6 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
LogOutputDevice: Error: [Callstack] 0x00007ff7786654a9 UE4Editor.exe!FEngineLoop::Tick() [d:\main\engine\source\runtime\launch\private\launchengineloop.cpp:3610]
LogOutputDevice: Error: [Callstack] 0x00007ff778676c00 UE4Editor.exe!GuardedMain() [d:\main\engine\source\runtime\launch\private\launch.cpp:174]
LogOutputDevice: Error: [Callstack] 0x00007ff778676c7a UE4Editor.exe!GuardedMainWrapper() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
LogOutputDevice: Error: [Callstack] 0x00007ff778684605 UE4Editor.exe!WinMain() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
LogOutputDevice: Error: [Callstack] 0x00007ff778686007 UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
LogOutputDevice: Error: [Callstack] 0x00007ffe16611fe4 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffe1919cb31 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

12
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.194.204.22
Target Fix4.22
Fix Commit4811307
CreatedOct 4, 2018
ResolvedJan 25, 2019
UpdatedFeb 6, 2019