Skip to content

Fix precursor proximity triggers not reacting to remote players#2649

Open
misterbubb wants to merge 7 commits into
SubnauticaNitrox:masterfrom
misterbubb:fix/ion-cube-pedestal-remote-player-2643
Open

Fix precursor proximity triggers not reacting to remote players#2649
misterbubb wants to merge 7 commits into
SubnauticaNitrox:masterfrom
misterbubb:fix/ion-cube-pedestal-remote-player-2643

Conversation

@misterbubb

@misterbubb misterbubb commented Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Closes #2643

Changes

  • Add patches for PrecursorActivatedPillar (ion cube pedestals)
  • Add patches for PrecursorKeyTerminalTrigger (tablet pedestals)
  • Add patches for PrecursorDisableGunTerminalArea (gun disable terminal)
  • Track player count to prevent closing when other players are still nearby
  • Only play sounds when first player enters (prevents duplicate sounds)
  • Triggers only deactivate when ALL players have left the zone
  • Disable SphereCollider on remote player ping signal to fix premature trigger activation
  • Fix remote player CapsuleCollider missing height property

Tested With Two Players

  • Colliders
  • Sounds

Ion Cube Pedestals

  • Remote Player: Pedestal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Pedestal closes when Player 2 walks away
  • Multiple Players: Pedestal opens when Player 1 approaches
  • Multiple Players: Pedestal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Pedestal closes only when both players leave

Tablet Pedestals

  • Remote Player: Pedestal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Pedestal closes when Player 2 walks away
  • Multiple Players: Pedestal opens when Player 1 approaches
  • Multiple Players: Pedestal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Pedestal closes only when both players leave

Gun Terminal

  • Remote Player: Terminal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Terminal closes when Player 2 walks away
  • Multiple Players: Terminal opens when Player 1 approaches
  • Multiple Players: Terminal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Terminal closes only when both players leave

…rox#2643)

- Add patches for PrecursorActivatedPillar (ion cube pedestals with ion cube on top)
- Add patches for PrecursorKeyTerminalTrigger (tablet pedestals)
- Track player count to prevent closing when other players are still nearby
- Only play sounds when first player enters (prevents duplicate sounds)
- Pedestals only close when ALL players have left the trigger zone
@github-actions

github-actions Bot commented Jan 15, 2026

Copy link
Copy Markdown

Test Results

256 tests  ±0   253 ✅ ±0   10s ⏱️ ±0s
  1 suites ±0     3 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 6d91c1d. ± Comparison against base commit 5989599.

♻️ This comment has been updated with latest results.

@misterbubb misterbubb changed the title Fix precursor pedestals not reacting to remote players Fix precursor proximity triggers not reacting to remote players Jan 16, 2026
The player ping signal prefab has a SphereCollider with radius 10 that was
triggering proximity events (like precursor pedestals) before the player's
actual CapsuleCollider. This caused remote players to trigger pedestals
from ~8m away instead of the intended ~3m.

Disabling the SphereCollider on the signal prevents this issue while
keeping the ping functionality intact.
@misterbubb misterbubb requested a review from Coding-Hen January 16, 2026 20:46
@misterbubb misterbubb added this to the 1.9 milestone Jan 16, 2026
@Measurity Measurity removed this from the 1.9 milestone Feb 16, 2026

@Coding-Hen Coding-Hen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGCW I think in game it would be good to check the colliders though when we do a test session

@CherrieTheShifter

This comment was marked as spam.

@misterbubb misterbubb requested a review from Coding-Hen May 10, 2026 18:24
@dartasen dartasen added the Status: Needs testing Pull Request is waiting for testing label May 18, 2026
@misterbubb

Copy link
Copy Markdown
Collaborator Author

Tested With Two Players

  • Colliders
  • Sounds

Ion Cube Pedestals

  • Remote Player: Pedestal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Pedestal closes when Player 2 walks away
  • Multiple Players: Pedestal opens when Player 1 approaches
  • Multiple Players: Pedestal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Pedestal closes only when both players leave

Tablet Pedestals

  • Remote Player: Pedestal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Pedestal closes when Player 2 walks away
  • Multiple Players: Pedestal opens when Player 1 approaches
  • Multiple Players: Pedestal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Pedestal closes only when both players leave

Gun Terminal

  • Remote Player: Terminal opens when Player 2 approaches (Player 1 away)
  • Remote Player: Terminal closes when Player 2 walks away
  • Multiple Players: Terminal opens when Player 1 approaches
  • Multiple Players: Terminal stays open when Player 1 leaves (Player 2 still near)
  • Multiple Players: Terminal closes only when both players leave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Needs testing Pull Request is waiting for testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ion cube pedestals don't react to remote players

5 participants