cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to test networking locally?

MikeF
Trustee
So i'm starting to learn Unet and i'm having some troubles being able to test things quickly on one machine.
Currently i've set up some code to be able to enable/disable vr mode before joining a server, the idea being that i'll have one stereo camera and one mono camera (since only 1 rift app can run at a time).

The problem is that even if i call VRSettings.enabled = false; for the mono camera, the rift tracker still turns on and stops tracking the stereo rig that's running on the second network instance.

What's the best way to deal with this?


edit: only solution i've come up with so far is to turn off the rift before starting the first client, then turn it on before launching the second client. Workable, but if there's a better solution then i'd love to hear it!
3 REPLIES 3

cybereality
Grand Champion
For the non-VR client app, add this launch parameter.

-vrmode none

MikeF
Trustee
Awesome, that worked!
Thanks Cyber

cybereality
Grand Champion
Great.