Client Disconnect after watching video ad or in-app purchase

Hi.
I extended photon server Load Balancing app and hosted it in my local computer . I also connect my client to this server by using unity3d client plugin not PUN . Everything is fine but when client watch video or try in-app purchase , It disconnected from server . This happen when watching video end or in app purchase completed and after that , When returning to unity it disconnected from server . After debugging I noticed this is server who initiate disconnecting because client first get DisconnectedByServer Message and then Disconnected from server.
I even used PhotonNetwrok.BackgroundTimeout = 600; but it didn't help.
Please help me to solve this problem .
Thanks

Comments

  • Hi @mujpir,

    Please follow this guide to configure timeouts for Photon Server. The guide is meant for debugging purposes but you should use proper values to fit your needs.