I honestly don't remember. I think I used different cameras and projected them on specific parts of the screen when the player would reach the edge of the world, that way you would see whats on the other side. I'm prob gonna have to go back and reverse engineer my old code soon for what I'm working on. I can get back to you when I do that but it might be a bit. I'm on the Dream Diary Jam Discord too, maybe I can send the code on there at some point?
I found the old demo i used as a base for my code last time, here's a link if you wanna check it out.
I think my problem was that it didn't work with the depth system I was using but there should be ways to work around it
https://github.com/SilverLollipop/SeamlessRoomWrapDemo