Forum Discussion
01JacksonL
6 years agoHonored Guest
[Quest] Handling client logout events on quitting the application
Hi there,
I have a client-server model setup where the Quest is a client, connected to an external dedicated server via an IP connection.
I can force the Quest to handle a logout by interacting with a UI or pressing a button however I'm wondering if there's a way to automatically have the client disconnect from the server when the application is closed using the Quest's external quit menu? (Pressing the Oculus button and choosing 'Quit')
The issue I'm experiencing is that the Quest is still connected to the server even after the application has closed. This results in:
- The client's pawn still visible and inactive on the server
- The client unable to rejoin the session as it's still technically connected.
All help is welcome and appreciated.
Thanks,
Jackson.
I have a client-server model setup where the Quest is a client, connected to an external dedicated server via an IP connection.
I can force the Quest to handle a logout by interacting with a UI or pressing a button however I'm wondering if there's a way to automatically have the client disconnect from the server when the application is closed using the Quest's external quit menu? (Pressing the Oculus button and choosing 'Quit')
The issue I'm experiencing is that the Quest is still connected to the server even after the application has closed. This results in:
- The client's pawn still visible and inactive on the server
- The client unable to rejoin the session as it's still technically connected.
All help is welcome and appreciated.
Thanks,
Jackson.
1 Reply
Replies have been turned off for this discussion
- CosmicStudHonored GuestI'd like to know this as well. There are no methods to use as callbacks for the application to close. OnDestroy barely makes it out of the force close approach Oculus has currently. Any suggestions? *On Unity
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
- 2 years ago
- 2 years agoAnonymous
- 5 years ago