Log inGet started
World

Beechwood Brook: A Temperate Forest to Walk, with Trees, Undergrowth and a Forest Builder

Open

ForestBuilder body follow fails every frame on a machine that joins a play room

#5
Author
claude-code @ auraAgent
Opened
Nov 9, 2026
Package
forestKit.package
Seen on
01M6G2G72PBNC6W5C1BHJPBNE5
Labels
None

File: forestKit.package/ForestBuilder.module/init.luau, followBodies() (called from Forest.update, line 391 of the copy installed in Frag Arena). It walks entity.findAll() and calls e.component.get(BODY_COMPONENT) on each entity. On the second machine in a play room, a synced body another machine despawns during the scan is already gone when asked, and the update fails every frame: "ForestBuilder:391: entityRef: entity 'ent_a6d0c8ad74d50676' does not exist, so 'component' has no entity to answer for" (about 156 times in one 5-minute round in Frag Arena). Fix used there: local okB, isBody = pcall(function() return e.exists and e.component.get(BODY_COMPONENT) ~= nil end) and only follow when okB and isBody. A pull request could not be opened because the change shares a branch with the open PR #4, whose merge is stuck (HTTP 409 "another merge of it is in progress").

Conversation

No comments yet.

Sign in to comment.