**REPORTED** Keyboard Unresponsive

Broken Pixel

Official Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Single
Operating System
Windows 10
Terraria Version
1.4.0.3
Controls Used
Keyboard/Mouse
Keyboard is unresponsive in-game. Holding the space-bar and then trying to move sometimes works. Restarting laptop fixes issue for just that play session.
Keyboard input does work at the main menu when building a character or setting up bindings.

Playing with an Alienware 15 R3 laptop using a Logitech G610 keyboard.
 
We are looking into this issue, its very difficult to reproduce for anyone who doesn't have it, and since the programmers don't have it, its a lot of guesswork. We are investigating further. :)
 
The issue does appear to be cropping up more and more from just the googling I've done. It's unfortunate the game is unplayable on PC for me, but I'll make do with other ports for the time being. Good luck working the bugs out. Love the game.
 
I have the same problem. Mouse work fine, but my kewyboard dont work. I can't move, jump, or open the inventory, except if i push the key that i want to use and at the same time tab.
My keyboard works fine out of terraria. I tried un-install and install, and dont work.
I need to fix this issue, i want to play with my friends.
 
I have the same problem. Mouse work fine, but my kewyboard dont work. I can't move, jump, or open the inventory, except if i push the key that i want to use and at the same time tab.
My keyboard works fine out of terraria. I tried un-install and install, and dont work.
I need to fix this issue, i want to play with my friends.
I had the same issue, and this fixed it for me:
-Open the game folder and find Terraria.exe
-Right click, properties, compatibility tab
-Check 'Run this program as an administrator'
-Restart your PC

Hope this helps.
 
We are looking into this issue, its very difficult to reproduce for anyone who doesn't have it, and since the programmers don't have it, its a lot of guesswork. We are investigating further. :)

As someone else who's been having this bug intermittently, it's occurred twice for me in the middle of the game when I left Terraria autopaused on the menu screen in the background for a longish period (maybe 10-15 minutes?) while I was doing other things in my browser, and then found on returning to the window to continue playing that I could no longer use the keyboard. So that might be something to look into for potentially reproducing it. (This is the GOG version in windowed mode, with a pretty standard Microsoft 600 wired keyboard.) It's only happened with those longer periods on pause, I can do stuff in other windows briefly without any problems returning to the game.

It's also happened a couple of times immediately on launching the game as well; not sure if that potentially also could be connected to going to another window while I leave Terraria in the background to finish loading. It's too intermittent to be sure, but so far making a point of minimising all other windows before launching Terraria and then not touching anything until the loading has finished and the menu comes up has seemed to help avoid experiencing the bug on launch.
 
have the same issue
deleting config.json or adjust terraria.exe to run as administrator doesnt work for me..
reboot solution is/seems temporary
using a corsair K95 platinum on windows 10 pro build 1903

initialy i had the problem only sometimes after alt-tabbing or getting the window out of focus
now everytime i start it just doesnt respond (but rapidly pressing A and D in sucession does minimaly move the character (at least the moving animation starts, i dont think its really moving)
 
Last edited:
We have ONE tester who is able to reproduce this (by alt+tabbing out multiple times), and that is our current lead. Its definitely related to something unique to certain PCs, as the entire rest of our team has never once gotten this issue.

So we're just going to have to keep looking.

As an aside, apart from @Nomadic, are the rest of you using GOG version?
 
I'm using the steam version of the game; (disabeling steam overlay doesnt make a difference)
i dont also have the game on gog, otherwise i would test that one too
if there is anything we/i can do to assist in finding leads, please do tell :)
i'm running the game in a window (fullscreen on 3x 1440p is a bit overkill)

noticed the following: just pressing A or D doesnt work, pressing them in rapid succession results in walking to the right barely (a step at a time)
but holding down A and just pressing ESC or TAB (and releasing again) => walks left, same works for right, with D pressed
 
Last edited:
Not sure what else if anything might be significant system-wise, but I'm on Windows 10 Pro version 1903, the system language is UK English and the keyboard is also UK layout, and I have Avast antivirus running. My Terraria is running in an 800x600 window with borderless window disabled.
 
To clarify my setup. Game is set as borderless window. I am using dual monitors. So for instance game on one monitor, YouTube the other. I don't know if maybe dual monitors might be a factor. I don't alt tab between windows at all and the issue occurs everytime I load the game. Again a system reboot fixes the issue, however for only that play session. I never encountered this issue before Journeys End update.
 
I have just run into this problem, I'm also on Steam version, Windows 10.

As someone up thread mentioned, this occurred for me when I had loaded the game but alt+tabbed to another window to finish watching a YouTube video, I'd say about 10 minutes, before loading into the world.

*POSSIBLE FIX*
Looking at another forum with this reported issue, this series of steps fixed it for me:

Press CTRL+ALT+DEL and select Task Manager to open the Task Manager window
ALT+TAB back into Terraria
 
Last edited:
@Leinfors It appears I have just now caught the problem. I did activate Xbox Game Bar (I knew I shouldn't have..) and now my controls are all broken like everyone else. Getting Task Manager to super-kill Xbox Game Bar doesn't seem to help, nor does re-mapping every control in-game. Restarting the game doesn't fix it either.

I'm Windows 10, Steam version, 1.4.0.4.

EDIT: However, I logged off my computer's user, relogged into Steam (and Discord) and launched Terraria and now it's fine. I didn't even fully restart the computer, as I was doing something on another user on this computer and didn't want to log out of it, so I simply tried a log-out and that was fine.

As a general rule I try to keep as little running on my computer as possible. Whatever keeps my Windows 10 running, Discord, Steam, DropBox, possibly Firefox (my favorite browser) and that's about it. I do sometimes use the Xbox Game Bar for recording things, which seemed to cause the issue this time... but if you remember I just recently made a post about the favourited item slots and I had a video... that video came from the Xbox Game Bar.
 
Last edited:
This is a very odd bug, considering I've never encountered this myself (nor heard of this bug) before 1.4's launch. But now it's happening frequently and somewhat consistently as well, up to 1.4.0.4.

The only pattern I can identify is: This only occurs after I've opened Terraria previously while running the PC after awhile. After the 3rd-5th time opening Terraria and working perfectly, upon the following session suddenly no inputs function in-game properly, if at all. Restarting the PC of course solves the problem temporarily, until the next cycle above repeats. Alt+tabbing is something I occasionally do while in-game, but not often. I can say if I've ever alt-tabbed while in Terraria 1.4, it wasn't until a couple sessions later that I ran into this bug.

Needless to say it renders Terraria 100% unplayable once it strikes, and makes testing fan-made content I make and for others a lot more time-consuming. I haven't personally encountered anything like this before in other games or applications using Windows 10. While I see people online (including devs) saying it's not happening to them, I'm curious if many of them simply haven't re-opened Terraria enough times for it to occur.

I'm also posting this at this time to confirm this bug is also happening with my friends and family (4 people on 4 different PCs), who comprise of all the people I know personally playing 1.4. Their experiences with this bug appear to be identical to my own. So at least in my small circle, this bug has a 100% appearance rate.


Much luck in sorting it out.



*POSSIBLE FIX*
Looking at another forum with this reported issue, this series of steps fixed it for me:

Press CTRL+ALT+DEL and select Task Manager to open the Task Manager window
ALT+TAB back into Terraria
I tried this, and it works!! :happy:

EVERYONE experiencing this bug should try this out. Better yet -- not only after doing this did the inputs perfectly function again, but the following time I opened Terraria, it was STILL fixed! I was afraid it would revert to the bug in the following play session, but it was still working!

Thanks a ton for this, as this fix is a LOT less time-consuming than restarting the entire system just to play Terraria. In the meantime before this bug is fixed officially, this incredibly helpful temporary fix deserves to be stickied/featured somewhere.
 
Thanks for that followup workaround, I have a thread around here somewhere with a user who is trying to avoid resetting their PC due to technical concerns, that might be useful for them!

We are still investigating this issue, we have a general idea of what the cause is, but the source of it is rather difficult to isolate.

In essence, Terraria is launching with a specific, unknown key input constantly being sent to the game by some external source (either a keyboard/peripheral, or a program, or something like that). This input is what is leading to the issues, and the problem is finding a way of either blocking it, or making it not impact the functionality in Terraria.

Its definitely not 100% on our end. 0% of the dev team has ever experienced it, and of our tester team, less than 10% have encountered it once, and of those, only 2 had encountered it before launch (and because they couldn't reproduce it reliably, we couldn't follow up, as it only impacts them once every few weeks). None of our testers ever had this issue hit them reliably.

Suffice to say, we have a tester who can force it to happen now with the proper steps, the issue is just going to be trying to trace the stray input back to its source and figure out what is sending it. Easier said than done, since its being detected as an unknown input on Terraria's end.
 
So I'm going to Necro this thread b/c it happened to me again just now. I wanted to add a few things that may be of use to a dev, maybe not though.

I use Corsair mouse & keyboard, so everyting runs through their iCue software suite. I've not experienced anything like this on any other game.

I also have an AMD based system with these system specs:
Windows 11 Pro 22H2
AMD Ryzen 7 5800x on Gigabyte Aorus X570 Master Motherboard
32GB G.Skill Trident Z DDR4 @ 4Ghz 19-21-21-41
EVGA GTX 1080Ti SC2 Hybrid
Corsair K95 RGB Platinum & Nightsword RGB
Blue Snowball Microphone
Logitech C920 Webcam

Resoultion is 2560x1440 Borderless Window; I have not tested with fullscreen or windowed.


I want to add that this issue is still present on the latest release of Terraria, the "Labor of Love" update.

Before this update I would be able to verify my game files via steam and it would always find a corrupted file, redownload and would fix the issue temprorarily until it happened again.

However, after this update that is not the case any further. My suspicion based on some troubleshooting I've done today and on the prior version is that this is related to some sort of game file that has to do with the control inputs. The reason I suspect this is because if I uninstall the game via steam, then reinstall immediately, the problem is gone, meaning that with some Terraria update on Steam the integrity check no longer checks a file that is getting corrupted.

Further, I do not need to logout or reboot to fix the issue, I literally just reinstall the game.

The original corruption is related to an unexplained game crash as well.
The Windows Event Logs show it related to some sort of IO input though, so this issue as well as my crash could very well be related to a .Net error like what I am seeing. I've attached the Windows Event Logs and if someone can give me the location of the dump files for Terraria, if they generate, then I can attach those as well.

Windows Event Log plain text:
XML:
Fault bucket 1741011614102522863, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: Terraria.exe
P2: 1.4.4.2
P3: 6336153d
P4: mscorlib
P5: 4.8.9075.0
P6: 62cce1f1
P7: 1692
P8: 219
P9: System.IO.IOException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.3ffe3446-6475-4ebd-acea-a58018c29717.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.bf4625bf-6431-48e8-b435-94e492336525.tmp.WERInternalMetadata.xml
WPR_initiated_DiagTrackMiniLogger_OneTrace_User_Logger_20220920_1_EC_0_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.46ae621f-16f3-425c-aa23-0940cfad2403.tmp.etl
WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.93178ec2-fe17-4217-9456-1b77161855ae.tmp.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b5c32e1a-c431-41cd-bf5d-e067257cb60e.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f4fe80fa-a42b-4061-86fe-f3c69d7dda2a.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.2e4dcc1a-dc49-48f3-9bca-eeed76610d7d.tmp.xml

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Terraria.exe_99288d5acd8d49a73e7541156bc858a219dfac4_3174c283_e265e621-e264-43b1-87ba-ddeb37238cfb

Analysis symbol:
Rechecking for solution: 0
Report Id: 4690fbaa-82db-4136-b36e-2b757b3deb0e
Report Status: 268435456
Hashed bucket: 95b9d7496638c804e82950d6b8690bef
Cab Guid: 0

XML:
Faulting application name: Terraria.exe, version: 1.4.4.2, time stamp: 0x6336153d
Faulting module name: KERNELBASE.dll, version: 10.0.22621.521, time stamp: 0x4098ef61
Exception code: 0xe0434352
Fault offset: 0x00147172
Faulting process id: 0x0xC60
Faulting application start time: 0x0x1D8D4764CCED33C
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 4690fbaa-82db-4136-b36e-2b757b3deb0e
Faulting package full name:
Faulting package-relative application ID:

XML:
Application: Terraria.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.File.InternalCopy(System.String, System.String, Boolean, Boolean)
   at System.IO.File.Copy(System.String, System.String, Boolean)
   at Terraria.Utilities.FileUtilities.Copy(System.String, System.String, Boolean, Boolean)
   at Terraria.IO.WorldFile.DoRollingBackups(System.String)
   at Terraria.IO.WorldFile.InternalSaveWorld(Boolean, Boolean)
   at Terraria.IO.WorldFile+<>c__DisplayClass57_0.<SaveWorld>b__0()
   at Terraria.Utilities.FileUtilities.ProtectedInvoke(System.Action)
   at Terraria.IO.WorldFile.SaveWorld(Boolean, Boolean)
   at Terraria.IO.WorldFile.SaveWorld()
   at Terraria.WorldGen.saveAndPlayCallBack(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()


EDIT:

Added a 2nd instance, was Alt-Tabbed out of Terraria while playing a local map. Let it sit and it finally just crashed on it's own. Windows Event Logs attached, same error as last time.

However, after the 2nd crash the controls were still intact and I did not need to reinstall, so not sure how it is related beyond a file probably not having been corrupted on this crash.

EDIT 2:
Included the "Windows Error Reporting" report from the event references for both events.
 

Attachments

  • Terraria_Crash_logs.zip
    2.1 KB · Views: 40
  • Terraria_crash_2nd_instance_Sept30.zip
    10.2 KB · Views: 24
  • WER_AppCrash_Terraria.exe.zip
    11.3 KB · Views: 27
Last edited:
Thanks for that followup workaround, I have a thread around here somewhere with a user who is trying to avoid resetting their PC due to technical concerns, that might be useful for them!

We are still investigating this issue, we have a general idea of what the cause is, but the source of it is rather difficult to isolate.

In essence, Terraria is launching with a specific, unknown key input constantly being sent to the game by some external source (either a keyboard/peripheral, or a program, or something like that). This input is what is leading to the issues, and the problem is finding a way of either blocking it, or making it not impact the functionality in Terraria.

Its definitely not 100% on our end. 0% of the dev team has ever experienced it, and of our tester team, less than 10% have encountered it once, and of those, only 2 had encountered it before launch (and because they couldn't reproduce it reliably, we couldn't follow up, as it only impacts them once every few weeks). None of our testers ever had this issue hit them reliably.

Suffice to say, we have a tester who can force it to happen now with the proper steps, the issue is just going to be trying to trace the stray input back to its source and figure out what is sending it. Easier said than done, since its being detected as an unknown input on Terraria's end.
Hi, two years later and I still have this issue, I have tried the regular hotfixes I found on reddit and here. Here is what I've tried so far :
Rebooting, uninstalling both the game and steam, juste the game. Running as an administrator, ctrl+alt+suppr and getting back in with alt+tab, changing the keys to move, unplugging the keyboard and getting in back, before and after launching the game, deleting the game files in documents. None of that seems to work
Do you have any idea now what causes this issue ?
 
Back
Top Bottom