How to make a wrapping world?

Wow, that’s one dreading necroposting. Even if code is still alive somewhere on my disk, one chance in million it would work with current version of UE.