Skip to content

Recover anomaly timer owners across registered HUD canvases - #350

Open
Guffawaffle wants to merge 3 commits into
STFC-Mod:devfrom
Guffawaffle:fix/anomaly-native-owner-discovery
Open

Guffawaffle wants to merge 3 commits into
STFC-Mod:devfrom
Guffawaffle:fix/anomaly-native-owner-discovery

Conversation

@Guffawaffle

@Guffawaffle Guffawaffle commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

The countdown can disappear because the top interaction canvas and navigation root do not own the navigation HUD or alliance drawer. Resolve each controller through its registered, visible canvas context using Unity's non-generic GetComponentInChildren(Type, bool) overload.

Keep system-navigation gating, existing singleton ownership and HUD collapse behavior. Cache live owners, retry missing/inactive owners at most once per second, and format/write the label only when the displayed second changes. Outside system navigation the throttled callback skips controller discovery, anomaly access and UI work.

@Guffawaffle
Guffawaffle marked this pull request as draft October 25, 2026 13:44
@Guffawaffle
Guffawaffle marked this pull request as ready for review October 25, 2026 14:16
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