Skip to content

W3DParticleSys: Add null check for texture before rendering particles - #72

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-particle-texture-null-check
Open

W3DParticleSys: Add null check for texture before rendering particles#72
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-particle-texture-null-check

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-FF. The issue was that: Asset manager returned a stale pointer to a freed texture object, causing an access violation when reference counting was attempted.

Adds a null check for the texture obtained from the asset manager before attempting to render particles. This prevents potential crashes or undefined behavior if the texture is null or invalid, likely due to use-after-free issues.

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

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