Error: static UGameUserSettings* Undefined?

I am following tutorial on
and manage to get it working on my draft project.

But when I’m trying to replicate it on my main project I get this unknown error that I don’t understand.

static UGameUserSettings* GetGameUserSettings(); So apparently UGameUserSettings* is undefined… it work fine in my other project and I’ve added RHI as module dependency if that;s relevant.

But the error wont go away Severity

identifier "UGameUserSettings" is undefined	

Any Idea?

After reading article about someone’s having GEngine undefined.

Rama fixes it by changing the ProjectName.h

from

#include “Engineminimal.h”
to
#include “Engine.h”

Not sure if it’s because 4.9 build the game with Engineminimal.h