Forum Discussion
MikeF
10 years agoTrustee
Best way to test networking locally?
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!
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
Replies have been turned off for this discussion
- cyberealityGrand ChampionFor the non-VR client app, add this launch parameter.
-vrmode none
- MikeFTrusteeAwesome, that worked!
Thanks Cyber - cyberealityGrand ChampionGreat.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 6 months ago
- 8 months ago