Hỏi & Đáp
Unity를 연동할 때에 서버 OnConnectionFailed 에러가 뜹니다
해결했습니다!! Server와 Program.cs에서 IPAddress ipAddr = ipHost.AddressList[0]; 이 부분 대신 유니티에서 연결하는 ipAddr을 확인하고 Debug.Log("host: " + host + " ipHost: " + ipHost + " ipAddr: " + ipAddr + " endPoint: " + endPoint); 서버, 클라의 Program.cs에서 IPAddress ipAddr = IPAddress.Parse("유니티에서 접속 시도하는 ip주소"); 로 변경하니 해결되었습니다!
- Lượt thích
- 0
- Số bình luận
- 2
- Lượt xem
- 220

