Skip to content

wire rail: preserve resolved materials during mesh regeneration - #614

Merged
freezy merged 1 commit into
masterfrom
fix/wire-rail-resolved-materials
Nov 2, 2026
Merged

freezy merged 1 commit into
masterfrom
fix/wire-rail-resolved-materials

Conversation

@freezy

@freezy freezy commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Wire rails cache the imported placeholder material while a package is restored. When the table activates, their mesh rebuild can reassign that placeholder over the resolved material, rendering the rails white.

Track the last assigned material so a resolver replacement survives activation, mesh rebuilds and renderer recreation. Explicit inspector changes still win when no assignment has occurred in the current domain. Existing table packages work without re-exporting.

Validation: all 166 wire rail component and packaging tests pass, including three regression cases. Reloaded an existing package and visually verified reflective rails in both the Editor and the Windows standalone player. Reviewed with Opus 5.5.

@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable bugs were found.

Summary

Tracks the last material assigned to a wire rail so mesh rebuilds keep replacements made by the material resolver.

  • Wire rails keep resolved materials when their meshes rebuild.

Reviews (1) · Last reviewed commit: "wire rail: retain resolved materials whe..." · Reviewed by Greptile

@freezy
freezy merged commit d696e49 into master Nov 2, 2026
15 checks passed
@freezy
freezy deleted the fix/wire-rail-resolved-materials branch November 2, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant