[SOLVED[ Getworld() from static function without pass an Object

I guess this would do.

    if (!IsValid(GEngine))
    {
        UE_LOG(LogTemp, Error, TEXT("UMessageBox::Show GEngine is NULL"));
	    return;
    }

where UMessageBox::Show is current class+method name or just function name.

Anyways in cases where you don’t have World (tools, server, etc.) you don’t want to call this function and it was an mistake.

My intention was to create helper to show “Message Box” to player. In case of some errors.