Steam screenshot F12 is not working for a RMMZ-made game?

Hi everyone!

Recently I've received some feedback from the players, one of whom said “I really wanted to use Steam's default screenshot key F12 to leave some gameplay footage, but pressing F12 didn't work”. I thought I had used a keyboard mapping plugin to block that hotkey to prevent showing the console, but today I found that I hadn't actually done that.

So I started searching to see if anyone else had encountered a similar situation, but unfortunately, there is very little information on this. Would anyone like to share some solutions in this thread?

Here's one method I found of solving it, adding a piece of code into the game setting:
Code:
--in-process-gpu
source: https://www.ptt.cc/bbs/Steam/M.1670829633.A.86F.html

Original thread: https://forums.rpgmakerweb.com/threads/steam-screenshot-f12-is-not-working-for-a-rmmz-made-game.174475/