Skip to content

W3DWater: Add null check for m_skyBox before replacing texture - #86

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fixnullskybox
Open

W3DWater: Add null check for m_skyBox before replacing texture#86
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fixnullskybox

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-J9. The issue was that: Water texture replacement passes NULL skybox pointer to asset manager, causing access violation dereferencing 0x0.

  • Added a null check for m_skyBox before calling assetManager->replacePrototypeTexture to prevent potential crashes if m_skyBox is null.

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

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