Hotkeys Stop Working - OBS 28.xx

pakpenyo

New Member
Any news on this?
I only experienced it while streaming.

Input monitoring: ON.
Never disable hotkeys: ON.
Macmini M1, latest OBS, latest Sonoma.
 

jremitz

New Member
Thanks for replying. I didn’t notice it yet on 30.1.2 but I just installed it and only streamed twice since then.

General observation although it might have been coincidental: the last time I experienced this bug I was cleaning up replay files before going live. Probably coincidental but just calling it out. Since I last saw it I have been making a habit of restarting my laptop before streaming and thus far I haven’t experienced it. Again, probably coincidental but sharing.

Also, while I’ve tried restarting my replay buffer which has never helped, I did notice that if I go in and remap my save replay buffer hotkey, it’s good for exactly one instant replay save. It then stops working until I go into settings and remap the hotkey again. I can do that as many times as I want to try to save a few replays while I’m streaming but it’s very distracting and unmanageable.

Just wanted to share in case it helps hone in on the issue.
 

pakpenyo

New Member
Thanks for replying. I didn’t notice it yet on 30.1.2 but I just installed it and only streamed twice since then.

General observation although it might have been coincidental: the last time I experienced this bug I was cleaning up replay files before going live. Probably coincidental but just calling it out. Since I last saw it I have been making a habit of restarting my laptop before streaming and thus far I haven’t experienced it. Again, probably coincidental but sharing.

Also, while I’ve tried restarting my replay buffer which has never helped, I did notice that if I go in and remap my save replay buffer hotkey, it’s good for exactly one instant replay save. It then stops working until I go into settings and remap the hotkey again. I can do that as many times as I want to try to save a few replays while I’m streaming but it’s very distracting and unmanageable.

Just wanted to share in case it helps hone in on the issue.
I've ready testing with one hour streaming, there's no problem. But, we'll see for 4-6 hour streaming. And I change the key to switch scene with shift (shift+1, shift+2, etc) rather than 1,2, etc.
 

insomnia_io

New Member
Created an Account on this forum just to keep me updated on this issue. Switched to Mac OBS this week. Have the exact same issue. Hotkeys randomly stop working. When I notice that a Hotkey doesn't work anymore, every other hotkey I have stays usable ONCE. This is far beyond my comprehension.
Going to downgrade to v27.x and hope the rest of my streaming-setup stays fuctioning.

Hopefully it will be fixed, even 2 years after the bug was introduced.
 

AaronD

Active Member
When I notice that a Hotkey doesn't work anymore, every other hotkey I have stays usable ONCE.
Ooo! THAT'S a good detail to include! It's not a complete solution of course, or a direct pointer to the problem, but it starts to suggest what the problem might be under the hood. That's FAR better than just, "it doesn't work." Thank you!

To me, it suggests that there's supposed to be an "edge detector" somewhere that for some reason stops (accurately) recording the previous state. Something like:
C-like:
if (status && !status_prev)
{
    do_something();
}
status_prev = status;
That's supposed to do_something() only when status *becomes* true, and not constantly while it's true. And as-written here, it usually does. It might be tempting though, to write it like this, which *almost* works:
C-like:
if (status && !status_prev)
{
    status_prev = status;
    do_something();
}
See if you can figure out how it breaks, or how the first one might break. And how you might fix either one and how that fix might break. Also consider the addition of other logic into the same if(...), which is normally in a state that has no effect on the condition shown here, but sometimes it changes to the other state...

Based on just your description, I suspect that something along those lines is happening *somewhere*. It could be in OBS, or it could be in the OS somewhere, with the way it handles keystrokes.
 
Last edited:

Yogomi

New Member
Coming back to this. I was checking the release notes in Github and saw this in version 31.0 release notes.

Screenshot 2024-11-11 at 11.30.26 PM.png


Gonna test it out this week on a few setups.
 

jremitz

New Member
I’ve used it three times since commenting. A few hours of streaming with around 100 replays. No issues related to hotkeys on my end. I almost certainly would have seen it previously.

I saw one issue with encoding when writing the replay that I haven’t seen before but I’m relating it to laptop issues and a reboot seemed to resolve it for my next stream.
 

jremitz

New Member
I would say if you could, give feedback in jcm93’s PR that I linked. They might ask for logs or something to help them fix anything that might have been missed. I’d hate to lose momentum to solve this if we already have a dev that has been focused on it.
 

Yogomi

New Member
I’ve used it three times since commenting. A few hours of streaming with around 100 replays. No issues related to hotkeys on my end. I almost certainly would have seen it previously.

I saw one issue with encoding when writing the replay that I haven’t seen before but I’m relating it to laptop issues and a reboot seemed to resolve it for my next stream.
Very interesting. What kind of Mac are you using?
 

Yogomi

New Member
I’ve used it three times since commenting. A few hours of streaming with around 100 replays. No issues related to hotkeys on my end. I almost certainly would have seen it previously.

I saw one issue with encoding when writing the replay that I haven’t seen before but I’m relating it to laptop issues and a reboot seemed to resolve it for my next stream.
Also, to follow up, are you using a Bluetooth keyboard or a USB wired one?
 

jremitz

New Member
M1 Pro.
Also note that two of three streams have crashed at the very end (conveniently). But hot keys worked great.
 

Yogomi

New Member
M1 Pro.
Also note that two of three streams have crashed at the very end (conveniently). But hot keys worked great.
Okay. I'm trying them on an M1 Mac mini. When you say the streams crashed, do you mean the stream as a whole crashed?
 

jremitz

New Member
Yes. I’m still having issues with OBS crashing in the middle of the stream. But hotkeys work the entire time. So I got that going for me…
 
Top