Halen84 / ImGuiRDR2Hook

A Vulkan & DirectX 12 hook that allows you to create ImGui menus for Red Dead Redemption 2
MIT License
9 stars 3 forks source link

Yielding will crash the game #1

Closed Halen84 closed 1 year ago

Halen84 commented 1 year ago

Calling the ScriptHook WAIT (scriptWait) function anywhere outside of the main loop will immediately crash the game, same applies if you yield anywhere at all in the script.

This is most likely due to the graphics API functions that are supposed to be called every frame? Needs more testing.