Restarting or Reinitializing Engine Subsystems

Hi folx,
Is it possible to restart or reinitialize engine subsystems programmatically and without having to restart the editor? I want to create an editor button that resets and reinitializes all of my subsystems.

Engine/Editor Subsystem cannot be reinitialized without closing the editor.

You can only reinitialize GameInstance/LocalPlayer Subsystem in editor.

Answering my own question here:
You can indeed reinitialize engine subsystems. All you need to do is gather all the engine subsystems and call Deinitialize() on them, followed by Initialize().
Easy-peasy. Tested it in engine, and it works. No need to restart the engine anymore! :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.