Description

When inputting an extreme large value into a float variable that exceed the maximum value of a float, the engine then becomes unresponsive. I tested this with an integer variable and this did not occur. The user who reported this issue also said that sometimes this issue causes their PC to blue screen.

Tested in //UE4/Release-4.26 @ CL 15973114 and this did not occur, so marking as a Regression.

Steps to Reproduce
  1. Create an actor blueprint
  2. Open the blueprint
  3. Create a new float variable
  4. Drag the float variable into the Event Graph
  5. Select the Set function
  6. Click the input box inside the set node
  7. Hold the 9 key for 5 seconds so that you input an extremely large number
  8. Press the Enter key

RESULT:

The editor becomes completely unresponsive

EXPECTED:

The value the user input would be downscaled to the maximum value of a float

Callstack
Error: === Handled ensure: ===
Error: 
Error: Ensure condition failed: CharacterIndex >= 0 && CharacterIndex < sizeof(InFormattingRules.DigitCharacters) / sizeof(InFormattingRules.DigitCharacters[0]) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Internationalization/FastDecimalFormat.cpp] [Line: 467]
Error: 
Error: Stack: 
Error: [Callstack] 0x00007ffb6c98f5a7 UE4Editor-Core.dll!<lambda_75d4418a139906010d7441b328b8cf0f>::operator()() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Internationalization\FastDecimalFormat.cpp:467]
Error: [Callstack] 0x00007ffb6c1e08f9 UE4Editor-Core.dll!FastDecimalFormat::Internal::CultureInvariantDecimalToString() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Internationalization\FastDecimalFormat.cpp:467]
Error: [Callstack] 0x00007ffb6c1e7e75 UE4Editor-Core.dll!FastDecimalFormat::Internal::FractionalToString() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Internationalization\FastDecimalFormat.cpp:539]
Error: [Callstack] 0x00007ffb5be23d6c UE4Editor-GraphEditor.dll!TDefaultNumericTypeInterface<float>::ToString() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Input\NumericTypeInterface.h:85]
Error: [Callstack] 0x00007ffb5be17160 UE4Editor-GraphEditor.dll!SNumericEntryBox<float>::SendChangesFromText() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Public\Widgets\Input\SNumericEntryBox.h:501]
Error: [Callstack] 0x00007ffb5bd54737 UE4Editor-GraphEditor.dll!TBaseSPMethodDelegateInstance<0,SNumericEntryBox<float>,0,void __cdecl(FText const &),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
Error: [Callstack] 0x00007ffb6bde4aab UE4Editor-Slate.dll!FSlateEditableTextLayout::EndEditTransaction() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Text\SlateEditableTextLayout.cpp:3012]
Error: [Callstack] 0x00007ffb6bdf2891 UE4Editor-Slate.dll!FSlateEditableTextLayout::HandleKeyChar() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Text\SlateEditableTextLayout.cpp:857]
Error: [Callstack] 0x00007ffb6bcf0b14 UE4Editor-Slate.dll!SEditableText::OnKeyChar() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SEditableText.cpp:194]
Error: [Callstack] 0x00007ffb6bb5f39e UE4Editor-Slate.dll!<lambda_3b3692577dd93da4ab3e0d09503bc7c5>::operator()() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4219]
Error: [Callstack] 0x00007ffb6bb41bd3 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FCharacterEvent,<lambda_3b3692577dd93da4ab3e0d09503bc7c5> >() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:383]
Error: [Callstack] 0x00007ffb6bba450c UE4Editor-Slate.dll!FSlateApplication::ProcessKeyCharEvent() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4213]
Error: [Callstack] 0x00007ffb6bb98618 UE4Editor-Slate.dll!FSlateApplication::OnKeyChar() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4186]
Error: [Callstack] 0x00007ffbc2e2bc54 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1960]
Error: [Callstack] 0x00007ffbc2e192b7 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2698]
Error: [Callstack] 0x00007ffbc2e2e465 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1881]
Error: [Callstack] 0x00007ffbc2e14410 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:905]
Error: [Callstack] 0x00007ffbda065c1d USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffbda065612 USER32.dll!UnknownFunction []
Error: [Callstack] 0x00007ffbc2e2fcd4 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:125]
Error: [Callstack] 0x00007ff67e647621 UE4Editor.exe!FEngineLoop::Tick() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4851]
Error: [Callstack] 0x00007ff67e660fbc UE4Editor.exe!GuardedMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:178]
Error: [Callstack] 0x00007ff67e6610aa UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
Error: [Callstack] 0x00007ff67e6640cd UE4Editor.exe!LaunchWindowsStartup() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:273]
Error: [Callstack] 0x00007ff67e675984 UE4Editor.exe!WinMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:320]
Error: [Callstack] 0x00007ff67e67853a UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
Error: [Callstack] 0x00007ffbda207c24 KERNEL32.DLL!UnknownFunction []
Error: [Callstack] 0x00007ffbda70d721 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-134853 in the post.

1
Login to Vote

Fixed
ComponentUE - Editor - UI Systems - Localization
Affects Versions4.27
Target Fix5.0
Fix Commit18210060
Main Commit18210060
CreatedNov 12, 2021
ResolvedNov 18, 2021
UpdatedNov 19, 2021
View Jira Issue