Anti-virus or firewalls might cause the following errors:
Unable to inject into target process
Third party overlays (Mumble, Teamspeak, Fraps, OBS, Discord, Overwolf, whatever...) might cause the following error:
Unable to inject into target process
EDIT: What game? If none of those fix it, it's possible the game is outdated.