Skip to content

fix(skyrim-platform): skip DoReset3D when actor 3D is not loaded#2761

Open
jota2rz wants to merge 1 commit into
skyrim-multiplayer:mainfrom
jota2rz:facegenfix
Open

fix(skyrim-platform): skip DoReset3D when actor 3D is not loaded#2761
jota2rz wants to merge 1 commit into
skyrim-multiplayer:mainfrom
jota2rz:facegenfix

Conversation

@jota2rz

@jota2rz jota2rz commented Jun 3, 2026

Copy link
Copy Markdown

Prevents crash in FaceGen TRI loading when queueNiNodeUpdate is called on actors whose 3D skeleton hasn't fully loaded yet. This caused an access violation at an invalid address when the face gen system tried to operate on not yet loaded character.

Prevents crash in FaceGen TRI loading when queueNiNodeUpdate is called on actors whose 3D skeleton hasn't fully loaded yet. This caused an access violation at an invalid address when the face gen system tried to operate on uninitialized data.

- Add is3DLoaded() guard before queueNiNodeUpdate in formView.ts

- Add GetCurrent3D() null check in CallNative.cpp before DoReset3D
@nic11

nic11 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Thanks! Added this to the staging branch for now

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.

3 participants