[GH-ISSUE #1644] [multiplayer] Some player skins never load; player nametags not shown above heads #507

Closed
opened 2026-11-02 15:39:36 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @socksprox on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1644

Filed by an AI agent (Devin), not by the user themselves.

Report

On multiplayer servers: some players' skins never load (they show the default skin while others load fine), and player names generally do not render above heads.

What the code shows

The skin pipeline exists: PlayerInfoUpdate textures property → r.skin_textures → skins::Downloader → atlas slots → mob.skin (crates/horizon-client/src/game/remote.rs, crates/horizon-client/src/skins.rs). Likely failure points:

  • skin_textures.entry(uuid).or_insert(textures) keeps the first entry seen; a later PlayerInfoUpdate re-add carrying the real textures is ignored unless a PlayerInfoRemove cleared it first.
  • skins::lookup requires a signature for every non-local player — unsigned texture properties (offline-mode networks, skin plugins) always fall back to the default skin.
  • skins::unpack discards the whole Textures if any texture URL sits outside textures.minecraft.net — an odd cape URL kills the skin too.
  • Downloader caches Failed permanently — one transient HTTP error means default skin for the rest of the session.

Nametags are implemented (game/names.rs → other_players → remote_player_names, which joins level_players from AddEntity with r.players from PlayerInfoUpdate, gated by name_shown/alive()). The gate itself looks right, so "generally not displayed" probably means one of the two packets isn't landing as expected on this setup — needs a repro, ideally on the same proxy network as the transfer issue.

Originally created by @socksprox on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1644 Filed by an AI agent (Devin), not by the user themselves. ## Report On multiplayer servers: some players' skins never load (they show the default skin while others load fine), and player names generally do not render above heads. ## What the code shows The skin pipeline exists: PlayerInfoUpdate `textures` property → `r.skin_textures` → `skins::Downloader` → atlas slots → `mob.skin` (`crates/horizon-client/src/game/remote.rs`, `crates/horizon-client/src/skins.rs`). Likely failure points: - `skin_textures.entry(uuid).or_insert(textures)` keeps the *first* entry seen; a later PlayerInfoUpdate re-add carrying the real textures is ignored unless a `PlayerInfoRemove` cleared it first. - `skins::lookup` requires a signature for every non-local player — unsigned texture properties (offline-mode networks, skin plugins) always fall back to the default skin. - `skins::unpack` discards the whole `Textures` if *any* texture URL sits outside `textures.minecraft.net` — an odd cape URL kills the skin too. - `Downloader` caches `Failed` permanently — one transient HTTP error means default skin for the rest of the session. Nametags are implemented (`game/names.rs` → `other_players` → `remote_player_names`, which joins `level_players` from `AddEntity` with `r.players` from `PlayerInfoUpdate`, gated by `name_shown`/`alive()`). The gate itself looks right, so "generally not displayed" probably means one of the two packets isn't landing as expected on this setup — needs a repro, ideally on the same proxy network as the transfer issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#507
No description provided.