# "ReadKey" error when trying to run project on steam deck

**URL:** <https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533>\
**Category:** Platform & Builds\
**Tags:** automationtool, Linux, linux-build, unreal-engine\
**Created:** [May 29, 2024, 6:49pm UTC](https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533 "2024-05-29T18:49:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![efeeeeeeeee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/efeeeeeeeee/32/943353_2.png) [@efeeeeeeeee](https://forums.unrealengine.com/u/efeeeeeeeee)\
**Post date:** [May 29, 2024, 6:49pm UTC](https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533/1 "2024-05-29T18:49:18Z")

</div>

Hey there! I’m trying to run my project natively on steam deck, but after using the launch option, I see the following error:

```auto
LogPlayLevel: UAT: Password: System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.

```

Additional info:

- I have installed the required SDK for linux: v22\_clang-16.0.6-centos7
- The project is in c++, and I use Jetbrains Rider to compile and run the editor
- If I package the project for windows, I can send it to the Deck and it works fine using proton, but I want a faster way to debug, that’s why I want to fix the native launch option
- Also tried running the project from vistual studio 2022, and using the “external console” option in Rider

Here is the full output log:

```auto
LogUObjectHash: Compacting FUObjectHashTables data took 0.72ms
LogPlayLevel: Launcher Device ID: Linux@192.168.0.85
LogPlayLevel: PlayLevel: No blueprints needed recompiling
LogLauncherProfile: Unable to use promoted target - E:/Localhost/KillingFloorX/Binaries/Linux/KillingFloorX.target does not exist.
LogPlayLevel: UAT: Running AutomationTool...
LogPlayLevel: UAT: Using bundled DotNet SDK version: 6.0.302
LogPlayLevel: UAT: Starting AutomationTool...
LogPlayLevel: UAT: Parsing command line: -ScriptsForProject=E:/Localhost/KillingFloorX/KillingFloorX.uproject BuildCookRun -project=E:/Localhost/KillingFloorX/KillingFloorX.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -unrealexe=F:\Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -utf8output -platform=Linux -target=KillingFloorX -build -cook -map=/Game/Maps/MainLevel+/Game/Maps/MainLevel -CookCultures=en -unversionedcookedcontent -stage -deploy -cmdline="/Game/Maps/MainLevel -Messaging" -deviceuser=deck -device=Linux@192.168.0
.85 -addcmdline="-SessionId=196E91AA4BC2C07C913F7FAC33519ADD -SessionOwner='fprod' -SessionName='Launch On Device' " -run
LogPlayLevel: UAT: Initializing script modules...
LogPlayLevel: UAT: Total script module initialization time: 0.15 s.
LogPlayLevel: UAT: Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
LogPlayLevel: UAT: Executing commands...
LogPlayLevel: UAT: Setting up ProjectParams for E:\Localhost\KillingFloorX\KillingFloorX.uproject
LogPlayLevel: UAT: Password: System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
LogPlayLevel: UAT: at System.ConsolePal.ReadKey(Boolean intercept)
LogPlayLevel: UAT: at BaseLinuxPlatform.PlatformSetupParams(ProjectParams& ProjParams) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Linux\LinuxPlatform.Automation.cs:line 357
LogPlayLevel: UAT: at BuildCookRun.SetupParams() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 105
LogPlayLevel: UAT: at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41
LogPlayLevel: UAT: at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 345
LogPlayLevel: UAT: at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 354
LogPlayLevel: UAT: at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 270
LogPlayLevel: UAT: at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 164
LogPlayLevel: UAT: (see C:\Users\fprod\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+Games+UE_5.4\Log.txt for full exception trace)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 2s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 2.510463
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

```

Let me know if you have any ideas, or if you need some more context

---

<div class="post-metadata">

**Author:** ![efeeeeeeeee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/efeeeeeeeee/32/943353_2.png) [@efeeeeeeeee](https://forums.unrealengine.com/u/efeeeeeeeee)\
**Post date:** [July 19, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533/2 "2024-07-19T14:50:51Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![Norse\_FX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Norse\_FX](https://forums.unrealengine.com/u/Norse_FX)\
**Post date:** [March 28, 2025, 4:20pm UTC](https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533/3 "2025-03-28T16:20:48Z")

</div>

I got the same issue, did you ever find a solution?

---

<div class="post-metadata">

**Author:** ![Norse\_FX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Norse\_FX](https://forums.unrealengine.com/u/Norse_FX)\
**Post date:** [March 28, 2025, 4:26pm UTC](https://forums.unrealengine.com/t/readkey-error-when-trying-to-run-project-on-steam-deck/1879533/4 "2025-03-28T16:26:24Z")

</div>

Found the answer:

You need to add

| | [SteamDeck] |
| --- | --- |
| | +SteamDeckDevice=(IpAddr=192.168.0.10,Name=MySteamDeck,UserName=deck) |

To the Engine/Config/BaseEngine.ini file.

I read wrong in the documentation and added it too DefaultEngine.ini in my project file which is wrong. You add it too the BaseEngine.ini inside your ue5 editor directory
