Having an issue where my NUI mouse cursor stays locked even after the resource stops. The camera input remains blocked and the cursor stays visible, but the actual UI page is gone.
This only happens when I stop/restart the resource while the NUI is open - if I close the UI normally first then stop the resource, everything works fine. But if the UI is active when the resource gets stopped (like through txAdmin restart during development), the focus state seems to get stuck.
I've got the basic SetNuiFocus(true, true) setup and normally closing the UI releases focus properly, but there's something about the resource stopping mid-UI that's not cleaning up the focus state correctly.
PixelQueen · 29/08/2026
Sign in to reply.