Description

 

UEngineSubsystem::Deinitialize()

is not called when closing the editor

In addition, (tested only with released 4.24.1) 
when recompiling a module using the "Modules" window in the editor
the deinitialize function is being called, but at a wrong order (imho)

IModuleInterface::ShutdownModule()
UEngineSubsystem::Deinitialize()
IModuleInterface::StartupModule()
UEngineSubsystem::Initialize(...)

I would expect Deinitialize function to be executed before ShutdownModule

Steps to Reproduce

Have a class that implments UEngineSubsystem in your module.
start the editor, and then close it.

UEngineSubsystem::Deinitialize()

is not being executed

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Target Fix4.27
Fix Commit16060077
Main Commit16142474
Release Commit16060077
CreatedJan 24, 2020
ResolvedApr 20, 2021
UpdatedNov 30, 2022
View Jira Issue