Jump to content

ScriptHookDotNet error


cp702

Recommended Posts

I am working on a mod in SHDN, but it crashes with a memory access violation whenever I alt-tab out and back in. The alt-tabbing makes GTA lose the D3D device and then regain it, which may be related. Does anyone have any ideas what issues may be created by destroying and recreating the D3D device?

Link to comment
Share on other sites

I'm only speculating here, but some graphics cards have profiles for 2D and 3D applications. It may be possible that when you switch from a 3D application to a 2D application, the profile will switch and that may cause the game to "lose" the D3D device, and then regain it switching back.

de816a4fa5.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...