Photon Help
Options
Hi,
We are using two diffrent versions of game for arm and x86 and we have to increment build number of x86 by one.
For example if arm version is 1.07 than x86 is 1.08 so on.
But in our tests we realised that x86 version is not connects to arm version, (in both versions photon connecion version are same).
Is there any bug or any issue with build number or device?
We are using two diffrent versions of game for arm and x86 and we have to increment build number of x86 by one.
For example if arm version is 1.07 than x86 is 1.08 so on.
But in our tests we realised that x86 version is not connects to arm version, (in both versions photon connecion version are same).
Is there any bug or any issue with build number or device?
0
Comments
-
Hi,
What do you mean by "versions of game", "build number" and "photon connection version"?
LoadBalancingClient.AppVersion's of same LoadBalancingClient.AppId are used to avoid possible issues when clients of incompatible versions are connected to the same room. It's guaranteed that all clients in the room have same LoadBalancingClient.AppId0 -
Hi,
In our tests we found that android x86 version is not connecting to masterserver.
But if it's in offline mode, it can simulate connection successfully.
In arm version of same game, both online and offline mode works without changing any code.
Is there any problem with android x86 ?0 -
Hi,vadim said:Hi,
What do you mean by "versions of game", "build number" and "photon connection version"?
LoadBalancingClient.AppVersion's of same LoadBalancingClient.AppId are used to avoid possible issues when clients of incompatible versions are connected to the same room. It's guaranteed that all clients in the room have same LoadBalancingClient.AppId
In our tests we found that android x86 version is not connecting to masterserver.
But if it's in offline mode, it can simulate connection successfully.
In arm version of same game, both online and offline mode works without changing any code.
Is there any problem with android x86 ?0 -
How do you export to x86? I assume Unity? Which version?
Which version of Photon package do you use? We need name and version number.0 -
Hello,Tobias said:How do you export to x86? I assume Unity? Which version?
Which version of Photon package do you use? We need name and version number.
We are using unity 4.6.8.f1, Device filter only Android x86, minimum api 14 target api 23.
PUN+ v1.60
Arm, ios and mac versions are working.
0 -
vadim said:
What's in device logs when client fails to connect? Client should throw an error.musakara said:In our tests we found that android x86 version is not connecting to masterserver.
//Only filter com.zuuks.racing.club
//My codes
09-17 14:15:57.058: I/Unity(9055): MnPhoton:Connect() (at /Users/zuuks_games1/Desktop/Unity Projects/GIT Online/TrafficRacer/Project/Assets/AGame/Scripts/Managers/General/MnPhoton.cs:46)
09-17 14:15:57.058: I/Unity(9055): MnRoom:TryEnterRoom() (at /Users/zuuks_games1/Desktop/Unity Projects/GIT Online/TrafficRacer/Project/Assets/AGame/Scripts/Managers/General/MnRoom.cs:59)
09-17 14:15:57.058: I/Unity(9055): InfoRoom:JoinRoom() (at /Users/zuuks_games1/Desktop/Unity Projects/GIT Online/TrafficRacer/Project/Assets/AGame/UI/RoomSelection/InfoRoom.cs:43)
09-17 14:15:57.058: I/Unity(9055): EventDelegate:Execute() (at /Users/zuuks_games1/Desktop/Unity Projects/GIT Online/TrafficRacer/Project/Assets/NGUI/Scripts/Internal/EventDelegate.cs:472)
09-17 14:15:57.058: I/Unity(9055): EventDelegate:Execute(List`1) (at /Users/zuuks_games1/Desktop/Unity Projects/GIT Online/TrafficRacer/Project/Assets/NGUI/Scripts/Internal/EventDelegate.cs:636)
//First Try
09-17 14:15:57.058: I/Unity(9055): UIButton:OnClick() (at
09-17 14:15:57.098: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.168: D/houdini(9055): [9149] Loading library(version: 4.0.8.45720 RELEASE)... successfully.
09-17 14:15:57.178: D/dalvikvm(9055): Added shared lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.178: D/dalvikvm(9055): No JNI_OnLoad found in /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0, skipping init
09-17 14:15:57.188: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already loaded in same CL 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already loaded in same CL 0x0
09-17 14:15:57.208: D/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so
09-17 14:15:57.208: D/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:15:57.208: D/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0 : 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (16640, 0, 0)
09-17 14:15:57.208: E/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so
09-17 14:15:57.208: E/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:15:57.208: E/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0
09-17 14:15:57.208: E/Unity(9055):
09-17 14:15:57.208: E/Unity(9055): (Filename: /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
09-17 14:15:57.248: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x43a46910
09-17 14:15:57.248: W/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already opened by CL 0x0; can't open in 0x43a46910
09-17 14:15:57.248: D/Unity(9055): Unable to load library '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: unknown failure
09-17 14:15:57.248: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x43a46910
09-17 14:15:57.248: W/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already opened by CL 0x0; can't open in 0x43a46910
09-17 14:15:57.248: E/Unity(9055): Unable to find PhotonSocketPlugin
09-17 14:16:02.628: D/Unity(9055): Disconnect: 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (17408, 0, 0)
09-17 14:16:02.638: I/Unity(9055): Disconnect
//Second Try
09-17 14:19:05.768: I/Unity(9055): UIButton:OnClick() (at
09-17 14:19:05.768: D/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: PhotonSocketPlugin
09-17 14:19:05.768: D/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:19:05.768: D/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0 : 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (16640, 0, 0)
09-17 14:19:05.768: E/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: PhotonSocketPlugin
09-17 14:19:05.768: E/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:19:05.768: E/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0
09-17 14:19:05.768: E/Unity(9055):
09-17 14:19:05.768: E/Unity(9055): (Filename: /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
09-17 14:19:08.108: D/Unity(9055): Disconnect: 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (17408, 0, 0)
09-17 14:19:08.118: I/Unity(9055): Disconnect
0 -
//Only filter com.zuuks.racing.club
//First Try
09-17 14:15:57.058: I/Unity(9055): UIButton:OnClick() (at
09-17 14:15:57.098: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.168: D/houdini(9055): [9149] Loading library(version: 4.0.8.45720 RELEASE)... successfully.
09-17 14:15:57.178: D/dalvikvm(9055): Added shared lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.178: D/dalvikvm(9055): No JNI_OnLoad found in /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0, skipping init
09-17 14:15:57.188: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already loaded in same CL 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x0
09-17 14:15:57.188: D/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already loaded in same CL 0x0
09-17 14:15:57.208: D/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so
09-17 14:15:57.208: D/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:15:57.208: D/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0 : 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (16640, 0, 0)
09-17 14:15:57.208: E/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so
09-17 14:15:57.208: E/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:15:57.208: E/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0
09-17 14:15:57.208: E/Unity(9055):
09-17 14:15:57.208: E/Unity(9055): (Filename: /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
09-17 14:15:57.248: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x43a46910
09-17 14:15:57.248: W/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already opened by CL 0x0; can't open in 0x43a46910
09-17 14:15:57.248: D/Unity(9055): Unable to load library '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: unknown failure
09-17 14:15:57.248: D/dalvikvm(9055): Trying to load lib /data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so 0x43a46910
09-17 14:15:57.248: W/dalvikvm(9055): Shared lib '/data/app-lib/com.zuuks.racing.club-2/libPhotonSocketPlugin.so' already opened by CL 0x0; can't open in 0x43a46910
09-17 14:15:57.248: E/Unity(9055): Unable to find PhotonSocketPlugin
09-17 14:16:02.628: D/Unity(9055): Disconnect: 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (17408, 0, 0)
09-17 14:16:02.638: I/Unity(9055): Disconnect
//Second Try
09-17 14:19:05.768: I/Unity(9055): UIButton:OnClick() (at
09-17 14:19:05.768: D/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: PhotonSocketPlugin
09-17 14:19:05.768: D/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:19:05.768: D/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0 : 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (16640, 0, 0)
09-17 14:19:05.768: E/Unity(9055): Connect() to 'ns.exitgames.com' failed: System.DllNotFoundException: PhotonSocketPlugin
09-17 14:19:05.768: E/Unity(9055): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNativeDynamic:egconnect (string)
09-17 14:19:05.768: E/Unity(9055): at ExitGames.Client.Photon.SocketUdpNativeDynamic.DnsAndConnect () [0x00000] in :0
09-17 14:19:05.768: E/Unity(9055):
09-17 14:19:05.768: E/Unity(9055): (Filename: /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 56)
09-17 14:19:08.108: D/Unity(9055): Disconnect: 0 at /Users/builduser/buildslave/unity/build/artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp:56 (17408, 0, 0)
09-17 14:19:08.118: I/Unity(9055): Disconnect
0 -
Android x86 library is not in PUN+ package currently. Sorry for inconvenience.
You can download this library from https://dl.dropboxusercontent.com/u/4295285/Testing/PhotonUnity-NativeLibs-Androidx86.zip and put it to your project according to description in info.txt
0