-
Notifications
You must be signed in to change notification settings - Fork 0
Home
MirrorVR is a Mirror Plugin but for VR. It uses an edited version of the Epic Online Transport to get 100% free networking.
-
Download the latest version of Mirror and put it into your game.
-
Get the latest MirrorVR package and put it in your game.
-
In your Unity Project, go to
Assets/Mirror/Transports/MirrorVR
. That is where the package is located. -
Go inside the
Prefabs
folder, and drag the Network Manager prefab into your scene. -
Click on the Network Manager object, and assign the Player Transforms.
-
Now to get the actual networking working. Go to the Epic Games Dev Portal, sign in, and create an organization.
-
Scroll down and hit the blue
Create Product
button. -
Now name your product, it should be your game's name. Then, hit the blue
Create
button. -
Now wait for the product to be created. Once it's done, click on your product.
-
Now, on the left-hand side of your screen, click on the
Product Settings
tab.
- Now towards the center of your screen, click the
Clients
tab.
- Now once you get this popup, hit
Review & Accept
. Now scroll down to the bottom to the text on the left-hand side, then on the bottom right, hitAccept
.
- Now click the
Clients
tab again, and scroll past the warnings. At the right side of the screen, click the blueAdd new client
button.
- Now put the Client Name as
Client
, then hit the blueAdd new client policy
button.
- Set the client policy name as
Policy
, and the policy type asPeer2Peer
. Then, at the bottom right of your screen hit the blueAdd new client policy
button.
- Now back to the client. We don't need the
Trusted Server
orEpic Account Service
categories so we can skip those, and just hit the blueAdd new client
button.
- Jeez this is a long process. Next, we need to go to the
Epic Account Services
tab, so on the left-hand side of your screen, click theEpic Account Services
tab.
- Review and accept the terms again as we did on step 11.
- Now let's create a new application. Hit the blue
Create Application
button.
- We don't need to do anything in the
Brand Settings
tab, so go up to the top right of your screen, and select thePermissions
tab.
- Now make sure
Basic Profile
,Online Presence
,Friends
, andCountry
are all enabled, and hitSave Changes
at the bottom.
- Now go to the
Linked Clients
tab.
- Select your client, and hit
Save Changes
.
- Now at the top left of your screen, hit the black
Back to Epic Account Services
button.
- Now go back to the
Product Settings
tab.
- Now scroll down, and you should see all of your keys.
Caution
DO NOT share your keys with ANYONE!
- Now put all of your keys into the
MirrorVRManager
script in Unity.