Stuck At Connecting To NameServer

Hey! I'm Facing am issue that PhotonNetwork.NetworkClientState returns Connecting To NameServer.


Detail explanation:
I'm creating a Simple Game For both online & offline. So, from Menu scene if I enter into Online there is no problem with PHOTON it works GREAT also there is no problem in connecting & disconnecting. But when I open my offline scene and after returning to home Scene then if I load online scene PhotonNetwork.NetworkClientState stuck at Connecting To NameServer or not moving further to "CONNECTED" state.


I'm using PUN2 Free Version:Pun:2.19.3 Photon lib:4.1.4.4.

If you Need more details as me. I'm Completely new to unity And PHOTON. My game is almost finished Just waiting for this problem's solution.

NOTE: I'm using Google ADMOB in offline scene

Comments

  • This Error Happens only when I leave the online Scene by disconnecting Form photon. If I'm not disconnected No problem arises.
  • This Error Happens only when I leave the online Scene by disconnecting Form photon. If I'm not disconnected No problem arises.

    If I load online scene first but after opening Offline scene if I open Online It get stuck(not the application)
  • Udhayarajan
    edited July 2020
    Sorry for reporting Answer found Problem:When user exit Time.timescale will be at 0 so In online scene Update Function Not called NO ERRORS NOW

    STUCK IS DUE TO Time.timeScale used in OFFLINE scene Not from PUN2 and Not from ADMOB ;)
  • Hi @Udhayarajan,

    Thank you for choosing Photon!

    Read this.