Description

The Editor will crash when using the keyboard Command-S shortcut to save a Blueprint after adding a node if the Mac is set to use Japanese Romaji input. The crash actually seems to occur as soon as the Command key is pressed.

REGRESSION:
Yes. This crash did not occur in 4.16.3.

Steps to Reproduce

SETUP:
This requires that the input language for the Mac be set to Japanese Romaji.

REPRO:

  1. Create a new Third Person Blueprint project.
  2. Open the project's character Blueprint.
  3. Add a new node (tested with both the Get Owner and Print String nodes).
  4. Use the Command-S keyboard shortcut to save the project.

RESULT:
The Editor crashes.

EXPECTED:
The Blueprint saves.

WORKAROUND:
Set the input language for the Mac to U.S. English, or use the Save button in the Blueprint Editor.

Callstack
SEGV_NOOP at 0x0

FTextLayout::GetAsTextAndOffsets(FString*, FTextLayout::FTextOffsetLocations*) const Address = 0x1065c1620 (filename not found) [in UE4Editor-Slate.dylib]
FSlateEditableTextLayout::FTextInputMethodContext::GetSelectionRange(unsigned int&, unsigned int&, ITextInputMethodContext::ECaretPosition&) Address = 0x10674f469 (filename not found) [in UE4Editor-Slate.dylib]
___ZL20PerformBlockOnThreadR19FCocoaRunLoopSourceU13block_pointerFvvEP7NSArrayP8NSStringb_block_invoke Address = 0x103e57920 (filename not found) [in UE4Editor-Core.dylib]
FCocoaRunLoopSource::Process(__CFString const*) Address = 0x103df2c04 (filename not found) [in UE4Editor-Core.dylib]
-[FCocoaRunLoopSourceInfo perform] Address = 0x103df2656 (filename not found) [in UE4Editor-Core.dylib]
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ Address = 0x7fff96bdf3e1 (filename not found) [in CoreFoundation]
__CFRunLoopDoSources0 Address = 0x7fff96bc065c (filename not found) [in CoreFoundation]
__CFRunLoopRun Address = 0x7fff96bbfb46 (filename not found) [in CoreFoundation]
CFRunLoopRunSpecific Address = 0x7fff96bbf544 (filename not found) [in CoreFoundation]
FMacPlatformMisc::PumpMessages(bool) Address = 0x103dfb7ef (filename not found) [in UE4Editor-Core.dylib]
FEngineLoop::Tick() Address = 0x103b1432b (filename not found) [in UE4Editor]
GuardedMain(wchar_t const*) Address = 0x103b1cc22 (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x103b2a5d0 (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x103df2e86 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fff986008ad (filename not found) [in Foundation]
_pthread_body Address = 0x7fffacb0b93b (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fffacb0b887 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fffacb0b08d (filename not found) [in libsystem_pthread.dylib]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Duplicate
ComponentUE - Platform - Apple
Affects Versions4.174.18
CreatedAug 10, 2017
ResolvedAug 22, 2017
UpdatedJul 14, 2021