Hi, I am working on a project that requires me to overwrite Unreal’s GameEngine.
I derived a class from UGameEngine
UCLASS()
class MYGAME_API UMyEngine : public UGameEngine
{
GENERATED_BODY()
public:
void Init(IEngineLoop * InEngineLoop) override;
void Tick(float DeltaSeconds, bool bIdleMode) override;
};
And I integrated it by editing DefaultEngine.ini
[/Script/Engine.Engine]
GameEngine=/Script/MyGame.MyEngine
However, when trying to use UE4_LOG on either of the functions in the engine nothing is printed on the console
I also tried to force a crash by throwing an exception and dereferencing a NULL pointer on those functions but it didn’t have any effect.
Is there any setup step I am missing? Or am I misanderstanding what overriding UGameEngine does?
Thank you
,