Description

The editor will produce a crash most of the time when closing editor after quitting a standalone game.

This is a regression due to it not occurring in 4.26.

Steps to Reproduce
  1. Create a new project using any template.
  2. Create two maps (Map1, Map2)
  3. In Map1 level blueprint, OnBeginPlay add a 1 second delay and OpenLevelByObjectReference. (select Map2 as the level to load)
  4. Open Map2.
  5. In Map2 level blueprint, OnBeginPlay add a 1 second delay and then quit game.
  6. Play a standalone game starting in Map1.
  7. After the game closes, close out the editor.

Result: The editor will crash.

Expected Result: The editor closes without a crash.

Callstack
ntdll!7ff872390000  + 9cdf4
KERNELBASE!7ff86fe10000  + 21a5e
UE4Editor-Core!ReportCrash(_EXCEPTION_POINTERS *) [WindowsPlatformCrashContext.cpp:1591]
UE4Editor!7ff7d7e60000  + 3b7ff
VCRUNTIME140!7ff8631d0000  + ecd0
ntdll!7ff872390000  + a20cf
ntdll!7ff872390000  + 51454
ntdll!7ff872390000  + a0bfe
msctf!7ff870630000  + 23145
msctf!7ff870630000  + e2f9
msctf!7ff870630000  + 22016
msctf!7ff870630000  + f5d8
msctf!7ff870630000  + 8fd4
msctf!7ff870630000  + 8ef3
msctf!7ff870630000  + 8d8f
IMM32!7ff870530000  + 3b52
IMM32!7ff870530000  + 7dfc
msctf!7ff870630000  + 1783c
msctf!7ff870630000  + 8575
msctf!7ff870630000  + 4a1b8
IMM32!7ff870530000  + 99cc
IMM32!7ff870530000  + 9e9e
UE4Editor-ApplicationCore!FWindowsTextInputMethodSystem::Terminate() [WindowsTextInputMethodSystem.cpp:593]
UE4Editor-ApplicationCore!FWindowsApplication::~FWindowsApplication() [WindowsApplication.cpp:340]
UE4Editor-ApplicationCore!7ff842f80000  + fd9a
UE4Editor-Slate!FSlateApplication::Shutdown(bool) [SlateApplication.cpp:712]
UE4Editor!7ff7d7e60000  + 203be
UE4Editor!7ff7d7e60000  + 21063
UE4Editor!7ff7d7e60000  + 210ba
UE4Editor!7ff7d7e60000  + 240dd
UE4Editor!7ff7d7e60000  + 35984
UE4Editor!7ff7d7e60000  + 3853a
KERNEL32!7ff870dc0000  + 17034
ntdll!7ff872390000  + 52651

Have Comments or More Details?

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

0
Login to Vote

Won't Do
ComponentUE - Editor - UI Systems
Affects Versions4.27.2
Target Fix5.0
CreatedJan 4, 2022
ResolvedJan 6, 2022
UpdatedJan 20, 2022