planetarium / NineChronicles

Unity client application for Nine Chronicles, a fully decentralized idle RPG powered by the community.
https://nine-chronicles.com/
GNU Affero General Public License v3.0
347 stars 146 forks source link

[워크샵] 캐릭터 변경 시 보유 중이던 룬이 삭제되는 현상 #4871

Closed QgamesGeonPyoNoh closed 3 weeks ago

QgamesGeonPyoNoh commented 3 weeks ago

APV version info

v200170

Client version info

v170.0.5

Device

Windows, Android, iOS

detailed device info

Windows 10, Android 12, iOS 17

account address info

0x3146FE0E47A1998e14cd8a33640e3648A5A90276

avatar address info

No response

purchase receipt info

No response

What happened?

[내용] 캐릭터 변경 시 보유 중이던 룬이 삭제되는 현상 -보유 룬 및 강화 정보가 과거 특정 시점으로 출력되고 있습니다. -Windows / Android / iOS 환경에서 확인하였습니다.

https://github.com/planetarium/NineChronicles/assets/150774808/2559d2ce-2915-472a-b020-4b1f47cea2a8

How to reproduce the issue

[재현스텝]

  1. A 캐릭터 접속하여 룬 상태 확인
  2. B 캐릭터로 캐릭터 변경
  3. A 캐릭터로 다시 캐릭터 변경하여 룬 상태 확인
  4. 보유 중이던 룬이 삭제되는 현상 확인

[Should be] 캐릭터 변경 시 보유 중이던 룬이 유지되어야 합니다.

Relevant log output

No response

U-lis commented 3 weeks ago

기록용

query {
  stateQuery {
    agent (address: "0x3146FE0E47A1998e14cd8a33640e3648A5A90276"){
      avatarStates {
        name
        address
        name
      }
    }
  }
  state (accountAddress: "0000000000000000000000000000000000000022" 
    address: "0xE55bfDec6F59C418029B35C5276e2e9f18c176ed")
}

로 상태를 확인했을 때는 13개 다 있는 것 확인했습니다. legacy state 를 가져오는 경우에 저럴 수 있나? 싶은데, legacy state 가져오는 부분이 있는지 체크해보겠습니다.

QgamesGeonPyoNoh commented 3 weeks ago

수정 내용 확인 완료되었습니다.

https://github.com/planetarium/NineChronicles/assets/150774808/c71bf73f-e5cf-4f30-8980-08b59a0a17f9

[테스트 환경] Windows.v200170-170.0.8 Android.v200170-170.0.8 iOS.v170.0.8(57)