강의

멘토링

커뮤니티

Inflearn Community Q&A

dkwls10490956's profile image
dkwls10490956

asked

[MMORPG Game Development Series with C# and Unity] Part 9: MMO Content Implementation (DB Linkage + Large Structure + Live Preparation)

Cancel Job Reservation

조건식 중단점을 걸면 문제가 발생합니다

Written on

·

120

0

Job 예약 취소문을 작성하고 마지막 확인을 위해

if(Cancel == false) 부분에 Cancel == true 의 조건을 걸면

서버를 실행 후 유니티 클라이언트에서 접속 한 다음 로그인이 되지 않습니다.

중단점을 한 단계씩 해가며 추적을 해보니깐

ClientSession_PreGame - HandleLogin 함수의

AccountDb findAccount = db.Accounts
    .Include(a => a.Players)
    .Where(a => a.AccountName == loginPacket.UniqueId).FirstOrDefault();

위 구문에서 무한루프를 도는 걸로 확인이 됩니다.

 

조건을 거는 중단점을 걸때 프로젝트에서 추가로 설정 해야 되는게 있는 걸까요?

MMORPG

Answer

This question is waiting for answers
Be the first to answer!
dkwls10490956's profile image
dkwls10490956

asked

Ask a question