Photon chat not workin at unity web player

GLeBaTi
GLeBaTi
edited January 2015 in Photon Chat
Hello. When i compile my game with chat as unity3d window application - chat work done.
But, when i compile as unity3d web player - chat not working.
What's wrong?

Comments

  • From my log-file:
    SocketPolicyClient2: Incoming GetPolicyStreamForIP
    SocketPolicyClient2: About to BeginConnect to 137.117.244.8:843
    SocketPolicyClient2: About to WaitOne
    SocketPolicyClient2: Socket connected

    State: ConnectingToNameServer
    HasPeer = true;
    thats all... state not changing in future.
  • I don't get where "SocketPolicyClient2" comes from.
    I can't reproduce the issue at the moment. What are your settings? Can your web player connect to Realtime or Turnbased Photon?
  • Tobias wrote:
    I don't get where "SocketPolicyClient2" comes from.
    I can't reproduce the issue at the moment. What are your settings? Can your web player connect to Realtime or Turnbased Photon?
    Yes, i can connect to realtime photon.
    this log from unity:
    %USERPROFILE%\Local Settings\Temp\UnityWebPlayer\log
  • Can you please send us the full log? And maybe a link where I could try the web player myself?
    Mail to: developer@exitgames.com
  • Replacement Photon3DotNet.dll to Photon3Unity3D.dll resolve my problem.
    Thank you very mutch and sorry for my worry. :roll:
  • Hi,

    I am facing exactly the same problem with PUN+. It is working in one project but not in another.

    Which file should replace with which one? And where to find those files? Thanks in advance.

    This is what I see in the log:

    SocketPolicyClient1: Incoming GetPolicyStreamForIP
    SocketPolicyClient1: About to BeginConnect to 23.97.52.172:843
    SocketPolicyClient1: About to WaitOne
    SocketPolicyClient1: Socket connected
  • PUN+ now has the Chat API in the package and should work out of the box. You don't need to copy stuff around anymore to get Chat in.
    Can you please try to import PUN+ into a new, empty project and do a test with the Chat Demo?

    If it doesn't work, let me know which Unity version and browser please.
    I checked Unity 4.6.1 and Firefox and it works.
    Make sure you set an AppID from a Chat Application! Otherwise it will fail (on any platform). See instructions in the "DemoChat-Scene".
  • Hello
    my issue unity3d webgl project photon chat not working.

    error :
    Connect failed. SocketImplementationConfig is null for protocol WebSocketSecure: {(ConnectionProtocol)Udp=(MonoType)ExitGames.Client.Photon.SocketUdp, (ConnectionProtocol)Tcp=(MonoType)ExitGames.Client.Photon.SocketTcp}