Steam Guard is Steam’s two-factor authentication system. When SteamCMD logs in to upload your build, Steam may require a one-time code before allowing access. Understanding how Onyx detects and surfaces this prompt helps you respond quickly and keep uploads moving.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/RykoTheDev/Onyx-Steam-Build-Uploader/llms.txt
Use this file to discover all available pages before exploring further.
Why SteamCMD pauses for Steam Guard
SteamCMD saves a login session after a successful authentication. If that session has expired, or if the account has never been authenticated on this machine before, Steam will challenge the login with a Steam Guard code. SteamCMD then pauses and waits for you to type the code into its window before it can proceed. Steam Guard codes come from one of two sources depending on how your account is configured:| Source | How to retrieve |
|---|---|
| Check the inbox for the email address registered to the Steam account. The code expires after a short window. | |
| Mobile authenticator (Steam app) | Open the Steam mobile app, tap the shield icon, and read the 5-character code. Codes rotate every 30 seconds. |
How Onyx detects the Steam Guard prompt
SteamCMD is launched as a separate OS process. Onyx redirects its output to a temporary file and polls that file every 0.1 seconds. Because SteamCMD opens its own window to accept the code rather than writing a prompt to standard output, Onyx cannot read the prompt text directly. Instead, Onyx uses a timeout heuristic: if the SteamCMD process is still running but no new output has appeared in the redirected file for 5 seconds, Onyx assumes SteamCMD is waiting for input and shows a warning in the upload console.The yellow warning message
When the 5-second idle threshold is reached, Onyx prints the following to the console in yellow:How to respond
Look for the SteamCMD window
SteamCMD opens its own terminal window when launched. It may have been pushed to the background or minimized to the taskbar. Check your taskbar for a command prompt or terminal window associated with SteamCMD.
Read the prompt in SteamCMD
The SteamCMD window will show a prompt such as
Enter the current code from your Steam Guard Mobile Authenticator app: or similar. Confirm you are looking at the right window.Retrieve your code
Get the code from your email inbox or the Steam mobile authenticator app. Use the correct source for your account’s Steam Guard configuration.