GetWorld() identifier not found

Hi, I have GameModeBase class and for some reason I cannot use GetWorld() and I DO have the header (#include “Engine/World.h”). Please save me internet.

Are you sure that you are spelling it correctly? I sometimes mess up and write “Word” instead of “World”. You shouldn’t need to include the World.h though.

Now it magically works after no change… wow

But it couldn´t be because of wrong spelling because I literally copied it from documentation.