I can connect to cloud using TCP but can't using UDP

Options
I setup PhotonServerSettings,when i choose tcp at Protocol ,it shows timeout.
but when i change to tcp ,it can connect and do well.

Answers

  • vadim
    Options
    So what is the difference between initial settings and settings which work for you?
  • zwxbest
    Options
    vadim said:

    So what is the difference between initial settings and settings which work for you?

    i just want to connect by udp instead of tcp.
  • Borlox
    Options
    Same problem here! The inital setting is UDP. With UDP only every fourth attempt is working. I think, that he try to connect to the gameserver, but get no answer.

    If I try the same with the TCP-Option, than I have no problems at all. Anyone an Idea?
  • Tobias
    Options
    Which Unity version? Which PUN version? Which platforms are involved?
  • Xan_Mukan
    Options
    I'm having the same issue. It was with PUN 1.7, with editor Unity 5.3.4, ad mac builds within OSX (El Capitan)
  • Tobias
    Options
    Can you try a newer Unity version, too? If this is in-Unity, we can't fix things and on other platforms, the connection works (so it is likely Unity has a problem in that player).