I was wrong when I wrote LevelEditor + MainFrame where unnecessary, but I was right about loading them with the editor and -game don't work.
To fix the issue, I've checked what other modules are doing.
The best option is to check for the singleton GIsEditor. In editor, it will be valid, in editor with -game or standalone, it will be nullptr.
Note: I've also fixed a missing include in OptickStyle.cpp for FSlateApplication
Hi,
I was wrong when I wrote LevelEditor + MainFrame where unnecessary, but I was right about loading them with the editor and -game don't work. To fix the issue, I've checked what other modules are doing. The best option is to check for the singleton GIsEditor. In editor, it will be valid, in editor with -game or standalone, it will be nullptr.
Note: I've also fixed a missing include in OptickStyle.cpp for
FSlateApplication
-Yohann