[GH-ISSUE #3707] Chunk loading silently replaces an existing block entity #1059

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

Originally created by @arismoko on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3707

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

In crates/horizon-client-render/src/block_entities.rs, load_chunk inserts each loaded entity into the map and discards the replaced value. streaming.rs calls it when a chunk finishes loading. If the map already holds that position, the old entity is silently lost, with no removal handling.

Please define and test the collision behaviour, including ticker and removal handling. This is a source-level finding; no player-facing reproduction yet.

Originally created by @arismoko on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3707 > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. In `crates/horizon-client-render/src/block_entities.rs`, `load_chunk` inserts each loaded entity into the map and discards the replaced value. `streaming.rs` calls it when a chunk finishes loading. If the map already holds that position, the old entity is silently lost, with no removal handling. Please define and test the collision behaviour, including ticker and removal handling. This is a source-level finding; no player-facing reproduction yet.
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#1059
No description provided.