Forum Discussion
jibbs63
4 years agoProtege
Test Multiplayer (p2p) with a single headset
Hi, I'm wondering if it is possible to test a multiplayer game that uses the oculus p2p api for its networking by running an instance on your headset and an instance on your PC with no headset. I...
jibbs63
4 years agoProtege
Ok, I could see that being an acceptable solution. The biggest thing I am trying to workout it joining rooms, connecting players through p2p and all the different events that come through and when. I have it working, but it often gets my game into bad states.
So let me ask you, when testing the protocols on two PC instances, I assume you are not using a headset at all on either of them, or are you? Are you able to test your avatars?
sSvvSs
4 years agoProtege
Sometimes I'm using headset to look around and check how movements works, but for the last week or so I'm almost fully on theoretical coding of multiplayer π
In future I will definitely add some test mode to have at least basic control without headset, so I will be able at least to walk around and see what happens on the scene.
- jibbs634 years agoProtege
Yeah, that sounds pretty similar to what I need to use it for as well. When I run the game in the editor, it does not pass entitlements normally, but if I check off the standalone platform platform option and enter a test user then it passes. However, once I build the executable and run it, then it does not pass entitlements even if I had the test user entered in the editor's settings.
Do you know how to get the built executable to either use the test users credentials or to get the normal entitlements to pass?
- sSvvSs4 years agoProtege
Yes, I had similar issue. Here is what you need to do to solve that:
1. Build PC version with unchecked "Use Standalone Platform"
2. Upload it to the dev channel on oculus store
3. Register your oculus account as "Subscribed Users" on beta channel
4. Open oculus app on PC and install your game (seems like it's needed to allow using API for your account)
After all those steps you should be able to use API from your main account. After that you can test several instances like that:
1. Build app with unchecked "Use Standalone Platform" (so that copy will use your main account)
2. Check "Use Standalone Platform" (to use test account)
3. Run build version and unity play mode
As result you should have different accounts on each instance and they are should allow to use API.
- jibbs634 years agoProtege
Thank you so much. I hadn't even realized that there was a seperate app needed for the rift version in the developer console. After adding the app and requesting the required api services, I was able to update the rift appId in Unity and get entitlements working in my standalone build using my regular account.
Thanks again!
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
- 6 months ago
- 2 years ago
- 2 years ago