What is the correct configuration for link.xml for PUN2?
Options
Hello I'm getting the following error when running on WebGL and building with High code stripping. What is the required config for the link.xml for PUN2?
Connect() failed to create a IPhotonSocket instance for WebSocketSecure.SocketImplementationConfig: {Udp=ExitGames.Client.Photon.SocketUdp, Tcp=ExitGames.Client.Photon.SocketTcp, WebSocket=ExitGames.Client.Photon.SocketWebTcp, WebSocketSecure=ExitGames.Client.Photon.SocketWebTcp} Exception: System.MissingMethodException: Constructor on type 'ExitGames.Client.Photon.SocketWebTcp' not found.
Thanks!
0
Answers
-
You want to preserve ExitGames.Client.Photon.
There is a sample link.xml in \Assets\Photon\PhotonUnityNetworking. That should do it.
0 -
I never heard about Unity merging link.xml files. Might be in newer versions, can't say.
I expect this only to work when the link.xml is in the root folder. Did you try that?
0