[GH-ISSUE #6876] Can't unleash a mob after re-entering the world #2235

Open
opened 2026-11-02 15:53:13 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6876

Version: Nightly 2026-11-01 · c9d474d · OS: Windows 11 (25H2), Intel i5-10400f, RTX 3060 Ti (copied from the report)

What I did:
Leash a mob with a lead;
Exit the world (while the mob is still leashed to me);
Enter the world;
Try to unleash the mob with RMB.
What happened: The mob did not unleash; Nothing happens when I press RMB on the leashed mob.
What I expected: The mob would become unleashed, like if I didn't re-enter the world (in vanilla Minecraft - no such problem).
Does it happen every time? - Yes. I can unleash the mob (after re-enter) only by grabbing another lead and pressing RMB on this mob - it will leash the mob again (probably by replacing the old one? It drops the old lead after leashing with the new one, though usually nothing should drop), and only after that you can fully unleash it.
Horizon version: Nightly 2026-11-01 · c9d474d
OS, CPU, GPU: Windows 11 (25H2), Intel i5-10400f, RTX 3060 Ti

Reported on Discord by Ling in #horizon-bugs · Discord thread
Tags: gameplay

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6876 **Version:** Nightly 2026-11-01 · c9d474d · **OS:** Windows 11 (25H2), Intel i5-10400f, RTX 3060 Ti <sub>(copied from the report)</sub> > What I did: > Leash a mob with a lead; > Exit the world (while the mob is still leashed to me); > Enter the world; > Try to unleash the mob with RMB. > What happened: The mob did not unleash; Nothing happens when I press RMB on the leashed mob. > What I expected: The mob would become unleashed, like if I didn't re-enter the world (in vanilla Minecraft - no such problem). > Does it happen every time? - Yes. I can unleash the mob (after re-enter) only by grabbing another lead and pressing RMB on this mob - it will leash the mob again (probably by replacing the old one? It drops the old lead after leashing with the new one, though usually nothing should drop), and only after that you can fully unleash it. > Horizon version: Nightly 2026-11-01 · c9d474d > OS, CPU, GPU: Windows 11 (25H2), Intel i5-10400f, RTX 3060 Ti Reported on Discord by **Ling** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566717816877359114) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [LeadAfterRe-enteringTheWorldBug.mp4](https://cdn.discordapp.com/attachments/1566717816877359114/1566717817582256239/LeadAfterRe-enteringTheWorldBug.mp4?ex=6ae98f2b&is=6ae83dab&hm=4112386dba7450b1e7aebffe401417e62422897b1a0f7fdbdaec70d616922ccb&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6571717495 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

Stopping before any fix. Notes for whoever picks it up: after re-entering, tick_leads (game/leads.rs) resolves a saved Pending::Uuid against level.player_uuid and stores that as leash_player, while untying (interact_leash) compares leash_player with acting_player_uuid(), which is the LAN guest's UUID in single player. write_leash also saves level.player_uuid rather than leash_player. That mismatch would explain why the lead only comes off by re-leashing. Not reproduced in game yet.

<!-- gh-comment-id:6571732197 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim Stopping before any fix. Notes for whoever picks it up: after re-entering, `tick_leads` (`game/leads.rs`) resolves a saved `Pending::Uuid` against `level.player_uuid` and stores that as `leash_player`, while untying (`interact_leash`) compares `leash_player` with `acting_player_uuid()`, which is the LAN guest's UUID in single player. `write_leash` also saves `level.player_uuid` rather than `leash_player`. That mismatch would explain why the lead only comes off by re-leashing. Not reproduced in game yet.
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

🤖 Comment by ClickingMaster's AI agent (Claude Code, Claude Opus 5.5), not by ClickingMaster personally.

<!-- gh-comment-id:6571754409 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim > 🤖 Comment by ClickingMaster's AI agent (Claude Code, Claude Opus 5.5), not by ClickingMaster personally.
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: unclaiming (Claude Code, Claude Sonnet 5.5). Not being worked on right now; free for anyone to take.

<!-- gh-comment-id:6585753652 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: unclaiming (Claude Code, Claude Sonnet 5.5). Not being worked on right now; free for anyone to take.
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

Not working on this; releasing it so someone else can take it. (Claude Code, Claude Sonnet 5.5, ClickingMaster's AI agent)

<!-- gh-comment-id:6586089131 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim Not working on this; releasing it so someone else can take it. (Claude Code, Claude Sonnet 5.5, ClickingMaster's AI agent)
Author
Owner

@ClickingMaster commented on GitHub (Nov 2, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6586224737 --> @ClickingMaster commented on GitHub (Nov 2, 2026): 🤖 Agent: /unclaim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You don't hold this issue. (asked by @ClickingMaster)

<!-- gh-comment-id:6586374458 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You don't hold this issue. (asked by @ClickingMaster)
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#2235
No description provided.