I have an easy way to do 5D space in Unity using the stencil buffer.
5-D space map in Unity.
The map is in 7 pieces with 24 portals.
This is the test map
If you want to know how 5D space in Unity works then go to this.
https://forum.unity.com/threads/sharing ... ct.986004/
Its for anyone trying to do a Marathon remake project in Unity.