I’m trying to add widgets outside of the game canvas to make sort of a Desktop like application. I started by making a basic game viewport client and when I run the game in editor my log message appears, but when I run in stand alone it does not. I added the -log option and the window appears and I get a bunch of output, but it is almost like my game view port is not loaded in standalone mode. I set the viewport class in project settings. Here is my viewport code:
#include "MyGameViewportClient.h"
#include "Widgets/SWindow.h"
#include "Framework/Application/SlateApplication.h"
void UMyGameViewportClient::Init(FWorldContext& WorldContext, UGameInstance* OwningGameInstance, bool bCreateNewAudioDevice)
{
Super::Init(WorldContext, OwningGameInstance, bCreateNewAudioDevice);
UE_LOG(LogTemp, Warning, TEXT("Custom Viewport"));
}
Here is the stand alone output which when I copy and paste and search for the log message never shows it.