Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Game shuts down immediately after 2 seconds when the second player joins to the game.

$
0
0
Hello guys, I've been trying to get local server work for about 2 weeks. I asked many photon progorammers and the said to me to share this problem in the forum hopping that someone could help me in this problem..

Description :
-I have a game that worked perfectly with no errors on the photon cloud.
-Then, I've downloaded photon server so I can play the game locally for more performance and less latency.
-I've set up the server exactly as in the guide.
-I can connect to the game via local play with 1 player, the game run so fast with no errors.
-Game shuts down immediately after 2 seconds when the second player joins to the game for all players. And error (unexpected msgType 5) shows for both players.


Errors details :
unexpected msgType 5
0x00007FFB7F948F6C (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F94BD59 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F93BCC8 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB80AC4B73 (UnityPlayer) PAL_Memory_Free
0x00007FFB803FE4B5 (UnityPlayer) PAL_Thread_YieldExecution
0x0000017A97DED43E (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000017A97DED39B (Mono JIT Code) [DebugLogHandler.cs:10] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000017A97E00570 (Mono JIT Code) [Logger.cs:61] UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000017A97E5E755 (Mono JIT Code) [Debug.bindings.cs:127] UnityEngine.Debug:LogError (object)
0x0000017A9B08374B (Mono JIT Code) [LoadBalancingClient.cs:2394] Photon.Realtime.LoadBalancingClient:DebugReturn (ExitGames.Client.Photon.DebugLevel,string)
0x0000017A97E5E6FC (Mono JIT Code) ExitGames.Client.Photon.PeerBase/<>c__DisplayClass109_0:<EnqueueDebugReturn>b__0 ()
0x0000017A963125D5 (Mono JIT Code) ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands ()
0x0000017A96312220 (Mono JIT Code) ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands ()
0x0000017A96311FFB (Mono JIT Code) [PhotonHandler.cs:208] Photon.Pun.PhotonHandler:Dispatch ()
0x0000017A96311F3B (Mono JIT Code) [PhotonHandler.cs:143] Photon.Pun.PhotonHandler:FixedUpdate ()
0x0000017AF0264E80 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFB7EC4BC80 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFB7EBD1D92 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFB7EBDAD8F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFB80398E4D (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB80395E14 (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB803756F9 (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB803757AD (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB7FDAF310 (UnityPlayer) UnityMain
0x00007FFB7FDB5E5D (UnityPlayer) UnityMain
0x00007FFB80064662 (UnityPlayer) UnityMain
0x00007FFB80053A77 (UnityPlayer) UnityMain
0x00007FFB80053B45 (UnityPlayer) UnityMain
0x00007FFB800572AF (UnityPlayer) UnityMain
0x00007FFB7F97FCF2 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F97E4FA (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F982CA9 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F98693B (UnityPlayer) UnityMain
0x00007FF6FDDE11F2 (MyTestGame)
0x00007FFBF7C17034 (KERNEL32) BaseThreadInitThunk
0x00007FFBF9342651 (ntdll) RtlUserThreadStart

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Coroutine couldn't be started because the the game object 'EquipmentPickerWindow' is inactive!
0x00007FFB7F948F6C (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F94BD59 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F93BCC8 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB80AC4B73 (UnityPlayer) PAL_Memory_Free
0x00007FFB8037FDEE (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB8040E540 (UnityPlayer) PAL_Thread_YieldExecution
0x0000017A9B053089 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutineManaged2 (UnityEngine.MonoBehaviour,System.Collections.IEnumerator)
0x0000017A9B052E2B (Mono JIT Code) [MonoBehaviour.bindings.cs:91] UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
0x0000017ABD521D93 (Mono JIT Code) [vItemWindow.cs:101] Invector.vItemManager.vItemWindow:CreateEquipmentWindow (System.Collections.Generic.List`1<Invector.vItemManager.vItem>,System.Collections.Generic.List`1<Invector.vItemManager.vItemType>,Invector.vItemManager.vItem,UnityEngine.Events.UnityAction`1<Invector.vItemManager.vItemSlot>,UnityEngine.Events.UnityAction`1<Invector.vItemManager.vItemSlot>)
0x0000017ABD521927 (Mono JIT Code) [vEquipArea.cs:140] Invector.vItemManager.vEquipArea:OnSubmitSlot (Invector.vItemManager.vItemSlot)
0x0000017ABD521651 (Mono JIT Code) [vItemSlot.cs:360] Invector.vItemManager.vItemSlot:OnPointerClick (UnityEngine.EventSystems.PointerEventData)
0x0000017ABD52157B (Mono JIT Code) [vEquipSlot.cs:76] Invector.vItemManager.vEquipSlot:OnPointerClick (UnityEngine.EventSystems.PointerEventData)
0x0000017A963717B9 (Mono JIT Code) [ExecuteEvents.cs:51] UnityEngine.EventSystems.ExecuteEvents:Execute (UnityEngine.EventSystems.IPointerClickHandler,UnityEngine.EventSystems.BaseEventData)
0x0000017A9630D0C2 (Mono JIT Code) [ExecuteEvents.cs:261] UnityEngine.EventSystems.ExecuteEvents:Execute<T_REF> (UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<T_REF>)
0x0000017A9636A5A3 (Mono JIT Code) [StandaloneInputModule.cs:196] UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse (UnityEngine.EventSystems.PointerEventData,UnityEngine.GameObject)
0x0000017A9635EA33 (Mono JIT Code) [StandaloneInputModule.cs:646] UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress (UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData)
0x0000017A96357F2B (Mono JIT Code) [StandaloneInputModule.cs:553] UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent (int)
0x0000017A96357E0B (Mono JIT Code) [StandaloneInputModule.cs:533] UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent ()
0x0000017A963573AB (Mono JIT Code) [StandaloneInputModule.cs:291] UnityEngine.EventSystems.StandaloneInputModule:Process ()
0x0000017A963160FF (Mono JIT Code) [EventSystem.cs:378] UnityEngine.EventSystems.EventSystem:Update ()
0x0000017AED567120 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFB7EC4BC80 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFB7EBD1D92 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFB7EBDAD8F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFB80398E4D (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB80395E14 (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB803756F9 (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB803757AD (UnityPlayer) PAL_Thread_YieldExecution
0x00007FFB7FDAF100 (UnityPlayer) UnityMain
0x00007FFB7FDB5B7D (UnityPlayer) UnityMain
0x00007FFB800653F9 (UnityPlayer) UnityMain
0x00007FFB80053A77 (UnityPlayer) UnityMain
0x00007FFB80053B45 (UnityPlayer) UnityMain
0x00007FFB800572AF (UnityPlayer) UnityMain
0x00007FFB7F97FCF2 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F97E4FA (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F982CA9 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FFB7F98693B (UnityPlayer) UnityMain
0x00007FF6FDDE11F2 (MyTestGame)
0x00007FFBF7C17034 (KERNEL32) BaseThreadInitThunk
0x00007FFBF9342651 (ntdll) RtlUserThreadStart

(Filename: C:\buildslave\unity\build\Runtime/Mono/MonoBehaviour.cpp Line: 725)

Viewing all articles
Browse latest Browse all 1557

Trending Articles