Keep connection problem

Hi alls,
I want keep connecting with Photon When loading scene, SendAcksOnly can do the work.
But how can I restore the connection to normal state? Connect again? or just loop up service()? thanks

Answers

  • Call SendAcksOnly from a thread while loading. It should be enough to call it a few times/sec. Maybe you call it up to 10x/sec while loading.
    When the game is ready, pause the thread and just continue to call SendOutgoingCommands() and DispatchIncomingCommands() regularly.
Sign In or Register to comment.