Ask Your Question
0

pong client 실행 시 exception 발생 문의

asked 2019-06-11 13:05:34 +0900

ivyteen gravatar image

안녕하세요. pong server 동작 확인 후 client 코드를 다운 받아 유니티에서 실행하고 "게스트 로그인"을 누르면 아래와 같은 exception이 발생합니다. Network Manager의 Lobby Server address는 현재 서버 주소를 입력 하였습니다.

확인 부탁 드립니다.

감사합니다.

  • Exception 발생 직전

D[PM 12:52:04] [7815B5] [S->C] TCP/Json: type=login, length=142 {"result":"ok","id":"Player_0fca74","winCount":0,"loseCount":0,"curRecord":0,"_sid":"9d2faeb5-ebac-4746-a551-686af758cfea","_msgtype":"login"} UnityEngine.Debug:Log(Object) Fun.FunDebug:LogDebug(String) (at Assets/Funapi/DebugUtils.cs:106) Fun.FunDebugLog:LogDebug(String) (at Assets/Funapi/DebugUtils.cs:320) Fun.Transport:onReceivedMessage(ArraySegment1) (at Assets/Funapi/FunapiSession.Transport.cs:1663) Fun.Transport:decodeMessages() (at Assets/Funapi/FunapiSession.Transport.cs:1536) Fun.Transport:Update(Single) (at Assets/Funapi/FunapiSession.Transport.cs:314) Fun.FunapiSession:OnUpdate(Single) (at Assets/Funapi/FunapiSession.cs:182) Fun.Listener:Update(Single) (at Assets/Funapi/FunapiMono.cs:129) Fun.ConcurrentList1:Update(Single) (at Assets/Funapi/ConcurrentList.cs:98) Fun.FunapiMono:Update() (at Assets/Funapi/FunapiMono.cs:82)

  • Exception 발생 시 로그

KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) NetworkManager.OnReceive (System.String msg_type, System.Object body) (at Assets/Scripts/NetworkManager.cs:330) Fun.FunapiSession.onTransportMessage (Fun.FunapiSession+Transport transport, System.String msg_type, System.Object message) (at Assets/Funapi/FunapiSession.cs:1256) Fun.FunapiSession+Transport.onReceivedMessage (System.ArraySegment1[T] body) (at Assets/Funapi/FunapiSession.Transport.cs:1667) Fun.FunapiSession+Transport.decodeMessages () (at Assets/Funapi/FunapiSession.Transport.cs:1536) Fun.FunapiSession+Transport.Update (System.Single deltaTime) (at Assets/Funapi/FunapiSession.Transport.cs:314) Fun.FunapiSession.OnUpdate (System.Single deltaTime) (at Assets/Funapi/FunapiSession.cs:182) Fun.FunapiMono+Listener.Update (System.Single deltaTime) (at Assets/Funapi/FunapiMono.cs:129) Fun.ConcurrentList`1[T].Update (System.Single delta_time) (at Assets/Funapi/ConcurrentList.cs:98) Fun.FunapiMono.Update () (at Assets/Funapi/FunapiMono.cs:82)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-06-11 14:00:52 +0900

seonyul.park gravatar image

updated 2019-06-11 14:02:32 +0900

안녕하세요. 아이펀팩토리 입니다.

로그를 확인했을 때 로그인 시 서버로부터 혼자하기 게임 정보를 받지 않는 것으로 보아, 관련 수정이 적용되기 전 버전의 서버 같습니다. 깃 허브에 업로드 되어있는 최신 버전의 퐁 서버에 혼자하기 전적 관련 수정 내용이 적용되어 있습니다. 최신 버전을 받아 다시 빌드하여 테스트해 봐 주실 수 있을까요?

퐁 서버 깃 허브 주소입니다. https://github.com/iFunFactory/game-p...

확인해 보시고 혹시 정상 동작 하지 않거나 문의사항 있으면 말씀해 주세요. 감사합니다.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-06-11 13:05:34 +0900

Seen: 35 times

Last updated: Jun 11