Hotkeys that work in run mode don't work in the build

I have a strategy game handed off to me by my programmer with a handful of hotkeys. When he handed it off to me, the hotkeys worked fine in both run mode & the builds, with one of them being “E” hiding the walls in the game. Well, I changed the hotkey to “W” and made “E” a key for spending in-game money. When I run it in game mode, all the hotkeys work seamlessly. But, when it’s built and up on Steam, those two don’t function any more.

What could the reason be?

Sounds like you wrote a bug… and that means… time to start debugging!

By debugging you can find out exactly what your program is doing so you can fix it.

Use the above techniques to get the information you need in order to reason about what the problem is.

You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.

Once you understand what the problem is, you may begin to reason about a solution to the problem.