ethanmoffat / EndlessClient

An open source client for Endless Online written in C#
MIT License
34 stars 16 forks source link

Relogging results in an invisible player character #260

Closed sorokya closed 1 year ago

sorokya commented 1 year ago

Any subsequent logins after the first will result in the player character not rendering. F12 and Warping do not fix this.

ethanmoffat commented 1 year ago

The renderer for the main character is created when CharacterRendererUpdater sees there isn't a main character renderer that matches the state of the main character model. Subsequent logins do not hit this same code path.

Probably could fix this by making sure the CharacterStateCache gets cleared on logout