Skip to content

Fix: Object trigger and pathfinder update issues#376

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/object-logic-bugs
Open

Fix: Object trigger and pathfinder update issues#376
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/object-logic-bugs

Conversation

@seer-by-sentry
Copy link

@seer-by-sentry seer-by-sentry bot commented Mar 9, 2026

Fixes CLIENT-3YS. The issue was that: Uninitialized PolygonTrigger list accessed during object placement in startNewGame causes access violation in W3DTreeBuffer::unitMoved.

  • Prevent pathfinder position updates during game initialization (frame 0) to avoid crashes when W3DTreeBuffer is not yet ready.
  • Add null pointer checks for pTrigger in m_triggerInfo to prevent crashes if a PolygonTrigger is deleted while still referenced.
  • Skip water area polygon triggers during object entry/exit checks, as they are not intended for script trigger events.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 11441048

Not quite right? Click here to continue debugging with Seer.

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.

0 participants