It is important to note that this only works for seamless travel. And since seamless travel does not work in the editor (up until at least UE 4.22), this will not work while debugging using the editor!
You can use this in standalone (and thus the packaged build only!)