[27.2.4] Game Capture Inject Helper Not Found

FerretBomb

Active Member
Game capture inject helper not found. This is most likely due to security software. Please make sure that the OBS installation folder is excluded/ignored in the settings of the security software you are using.

After updating to 27.2.4, I have started receiving the above as an error message in my logs, and a failing capture. This persists until OBS is exited and restarted, most often upon which the capture starts working again. I have also received an error "Unable to read locale.ini" at which point OBS crashed to desktop.
Both of these notably started after the game I was playing crashed (Hardspace: Shipbreaker) which may be related or not as the GC failure has occurred afterward from a fresh boot of OBS.

Notably, when the main game crashed, a second game capture was also running (GC - StreamRaiders) and continued to operate normally until I tried to update the capture target, at which point it started showing the same behaviour as the other game capture, with the same error showing repeatedly in the logs.

I am NOT running any security software that would quarantine the file in question, just Microsoft Anti-Malware. No action other than exiting and restarting OBS is needed to fix it. Inconvenient to do in the middle of a stream.
 

Attachments

  • 20220526-235301_FerretBomb_1080N60NVQ8M-1_3-HardspaceShipbreaker_StreamRaiders.mkv.txt
    313.8 KB · Views: 16

R1CH

Forum Admin
Developer
One of your plugins or another 3rd party DLL is likely changing the current directory of OBS, which is not supported. Process Explorer might give a hint as to what is responsible by checking the current directory value when the issue happens.
 

FerretBomb

Active Member
One of your plugins or another 3rd party DLL is likely changing the current directory of OBS, which is not supported. Process Explorer might give a hint as to what is responsible by checking the current directory value when the issue happens.
Thanks, I'll take a look the next time it happens!
This has only started after updating to 27.2.4, with no new extensions/addons. StreamDeck's software might have updated as well, but can't confirm.
I *did* start playing Hardspace Shipbreaker's full-release at the same time, but strongly doubt the game would be doing it. Doubly-so as OBS was showing the behavior after a fresh startup, where no GCs worked at all.

Will update when more information is available.
 

FerretBomb

Active Member
Just occurred again, on a fresh boot @R1CH. Here's a snip from PEx, doesn't seem that the path has been changed.

1653891073526.png


Unsure if related, opening the Properties does show a different directory as Current:
1653891211045.png

Only change made was updating the Properties of an existing Image Source, for my game title-card. Which would appear to be the 'current' directory. No plugin acts on this image source, so it'd have to be when OBS opens the file-picker.

This is only from a fresh-start; mid-stream, I haven't changed my image source. I'll have to continue gathering information.

(edit) Correction. I have Twitter as a Custom Dock, and it appears THAT file selector may be affecting it, or as well; I set a custom image and now it's pointing at my Twitter Splashes directory (I had accidentally used the title card previously).

(edit x2) Working again, set the same thumbnail and still working, even with the splashes directory as the current directory. I have no idea what the heck is up.
 
Last edited:

R1CH

Forum Admin
Developer
I tested with the built in image source, browser source and a browse dialog from interacting with a browser source and none of those changed the directory, so there must be something 3rd party doing it.
 

FerretBomb

Active Member
Which part of PEx would show that change? The mouseover popup, or the Properties page? Properties currently shows the 'wrong' directory as 'current', with the GC still working even after being turned off, swapped to a different target, a different capture type (between hotkey and specific-window), and back to the main target game.

As I was running into the problem repeatedly during a live cast, I have rolled back to 27.2.3 for the moment. No change to plugins or config, and have not had the issue recur. When I have time I will look into cloning a portable copy and test .4 to see if I can get reproducible steps, if the issue returns.

(edit) No sooner do I type that, then it breaks again under 27.2.3. I have deleted the Twitter custom-dock, as that is the last change I recall making before the issue started, and interacting with it seems to be a loose commonality. It could just be a timing-based thing though. At least that confirms it's not a version-update interaction with something.
 
Last edited:

FerretBomb

Active Member
Just updating, after removing the 'Compose Tweet' custom-dock (in a tab), this issue has not recurred for the last month. I'd like to see about helping to chase down whatever interaction is causing this to happen, if there is any interest @R1CH; if it's too edge-case to bother with (esp. as I run a large number of plugins), understandable, and I've got my workaround. Thanks for the help!

(Still hoping to get some attention on the freeze+delayed-stinger-start issue, but that's a separate thing that I suspect may be related to NVENC... I don't even know where to begin troubleshooting that, as there's no info in the log about transition timing.)
 
Top