Error on custom connecting script

Options
Hello ExitGames,

I'm currently testing the PUN+ networking on an android device (debugging) since it doesn't connect with the android device and getting this back in my log:
I/InputDispatcher( 2039): Delivering touch to current input target: action: 0x1

I/Unity (20939): Connecting

I/Unity (20939): UnityEngine.Debug:Internal_Log(Int32, String, Object)

I/Unity (20939): UnityEngine.Debug:Log(Object)

I/Unity (20939): deviceTest:OnGUI() (at F:\SVN 3D Gaming\minor-game\InitialUnityProject\Assets\Photon Unity Networking\DeviceTest\deviceTest.cs:16)

I/Unity (20939):

I/Unity (20939): (Filename: F Line: 0)

I/Unity (20939):

E/Unity (20939): Connect() failed: System.EntryPointNotFoundException: egconnect

E/Unity (20939): at (wrapper managed-to-native) ExitGames.Client.Photon.SocketUdpNative:egconnect (string)

E/Unity (20939): at ExitGames.Client.Photon.SocketUdpNative.DnsAndConnect () [0x00000] in <filename unknown>:0

E/Unity (20939):

E/Unity (20939): (Filename: /Applications/buildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 54)

E/Unity (20939):

E/Unity (20939): Cause: ExceptionOnConnect

E/Unity (20939): UnityEngine.Debug:Internal_Log(Int32, String, Object)

E/Unity (20939): UnityEngine.Debug:LogError(Object)

E/Unity (20939): ConnectAndJoinRandom:OnFailedToConnectToPhoton(DisconnectCause) (at F:\SVN 3D Gaming\minor-game\InitialUnityProject\Assets\Photon Unity Networking\UtilityScripts\ConnectAndJoinRandom.cs:51)

E/Unity (20939): UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)

E/Unity (20939): NetworkingPeer:SendMonoMessage(PhotonNetworkingMessage, Object[]) (at F:\SVN 3D Gaming\minor-game\InitialUnityProject\Assets\Photon Unity Networking\Plugins\PhotonNetwork\NetworkingPeer.cs:1619)

E/Unity (20939): NetworkingPeer:OnStatusChanged(StatusCode) (at F:\SVN 3D Gaming\minor-game\InitialUnityProject\Assets\Photon Unity Networking\Plugins\PhotonNetwork\NetworkingPeer.cs:1249)

E/Unity (20939): ExitGames.Client.Photon.<>c__DisplayClass6:<EnqueueStatusCallback>b__4()

E/Unity (20939): ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()

E/Unity (20939): ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()

E/Unity (20939): PhotonHandler:Update() (at F:\SVN 3D Gaming\minor-game\InitialUnityProject\Assets\Pho

I/InputReader( 2039): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.1814 ]

How can this happen? could you maybe help me with this problem?

Comments

  • reimporting to other project worked.
    Is there a way to stop it from breaking?
  • Tobias
    Options
    The "System.EntryPointNotFoundException" can be caused by not finding the native lib's methods.
    Make sure you keep Plugins/Android and Plugins/iOS and basically anything Photon-related, you should be fine.
    To get rid of demos and samples, follow the description in the readme.