GetWorld is null in UObject classes

UObjects not necessarily have transform component, to get world context must be an Actor/Pawn, anything with a transform…