[GH-ISSUE #4830] Invisibility not working correctly #1465

Closed
opened 2026-11-02 15:47:10 +07:00 by bsakaguchi · 2 comments
Owner

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

Version: Nightly · · OS: Arch Linux (KDE Plasma, Wayland), [your CPU], AMD Radeon RX 9060 XT, Vulkan (copied from the report)

What I did:

  1. Joined a multiplayer server (Paper + Geyser)
  2. Drank an Invisibility potion
  3. Looked at myself in third person and checked how other players looked to me
  4. Waited for the effect to run out

What happened:

  • I didn't become invisible. Reloading resource packs didn't help; restarting the game did.
  • When the effect ended I stayed invisible until I restarted the game again.
  • [Other players looked invisible to me when they weren't. Change or delete this line to match what you saw.]
  • Only players are affected, not mobs. Same with no shader pack.

What I expected: the effect applies when the server sends it and clears when it ends, like vanilla Java.

Does it happen every time? Yes [change if not]

Horizon version: [copy it exactly from the game: Nightly · ]

OS, CPU, GPU: Arch Linux (KDE Plasma, Wayland), [your CPU], AMD Radeon RX 9060 XT, Vulkan

[Attach a screenshot or the log file.]

Reported on Discord by Tab680fly in #horizon-bugs · Discord thread
Tags: rendering, gameplay

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 (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4830 **Version:** Nightly · · **OS:** Arch Linux (KDE Plasma, Wayland), [your CPU], AMD Radeon RX 9060 XT, Vulkan <sub>(copied from the report)</sub> > What I did: > 1. Joined a multiplayer server (Paper + Geyser) > 2. Drank an Invisibility potion > 3. Looked at myself in third person and checked how other players looked to me > 4. Waited for the effect to run out > > What happened: > - I didn't become invisible. Reloading resource packs didn't help; restarting the game did. > - When the effect ended I stayed invisible until I restarted the game again. > - [Other players looked invisible to me when they weren't. Change or delete this line to match what you saw.] > - Only players are affected, not mobs. Same with no shader pack. > > What I expected: the effect applies when the server sends it and clears when it ends, like vanilla Java. > > Does it happen every time? Yes [change if not] > > Horizon version: [copy it exactly from the game: Nightly · ] > > OS, CPU, GPU: Arch Linux (KDE Plasma, Wayland), [your CPU], AMD Radeon RX 9060 XT, Vulkan > > [Attach a screenshot or the log file.] Reported on Discord by **Tab680fly** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565882961352589392) Tags: rendering, gameplay <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:47:10 +07:00
Author
Owner

@navinor commented on GitHub (Oct 31, 2026):

🤖 Agent: comment by navinor's AI agent (OpenCode, Claude Opus 5.5), not by navinor personally.

I couldn't reproduce this against a vanilla 26.3 server. Horizon main (125875b84) joined a real vanilla server (offline mode), driven with horizon-ctl:

  • The player's own view, third person front: /effect give @s invisibility 5 hides the body; once it expires the body is back, and the effect list is empty. Giving it for 60 s and then /effect clear @s invisibility also brings the body back at once.
  • A second Horizon client watching that player: visible before, body and name tag hidden during the effect, visible again after it expires and after /effect clear.

Both clients read the invisible bit from the server's entity data (Entity.DATA_SHARED_FLAGS_ID, bit 0x20), and remove the effect on RemoveMobEffect.

So this looks specific to the Paper + Geyser server in the report (a plugin, Geyser, or a ViaVersion translation if the server isn't on 26.3). If the reporter can name the server's version and plugins, or say whether it also happens on a plain Paper server, that would narrow it down.

<!-- gh-comment-id:6546911710 --> @navinor commented on GitHub (Oct 31, 2026): 🤖 Agent: comment by navinor's AI agent (OpenCode, Claude Opus 5.5), not by navinor personally. I couldn't reproduce this against a vanilla 26.3 server. Horizon `main` (`125875b84`) joined a real vanilla server (offline mode), driven with `horizon-ctl`: - The player's own view, third person front: `/effect give @s invisibility 5` hides the body; once it expires the body is back, and the effect list is empty. Giving it for 60 s and then `/effect clear @s invisibility` also brings the body back at once. - A second Horizon client watching that player: visible before, body and name tag hidden during the effect, visible again after it expires and after `/effect clear`. Both clients read the invisible bit from the server's entity data (`Entity.DATA_SHARED_FLAGS_ID`, bit `0x20`), and remove the effect on `RemoveMobEffect`. So this looks specific to the Paper + Geyser server in the report (a plugin, Geyser, or a ViaVersion translation if the server isn't on 26.3). If the reporter can name the server's version and plugins, or say whether it also happens on a plain Paper server, that would narrow it down.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

Couldn't be reproduced on main,

<!-- gh-comment-id:6549359856 --> @rdbtCVS commented on GitHub (Oct 31, 2026): Couldn't be reproduced on main,
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#1465
No description provided.