x


Game Controls Won't Work

Ok, the first time this made me frustrated (restarted whole project), but for some reason, when I paused me game (right next to play button) and when I unpaused game, my game controls wouldn't work, and when I stop the game completely and re-played it, the character controls (up to move, left and right to steer, space to shoot,...) wouldn't work at all.I also closed the project completely and reopened it and re-ran my game, but the controls still didn't work. Is it Unity that is messed up or is it just some type of function or whatever? If possible, please help me solve this problem cause I do not want to restart project. Thanks!

more ▼

asked May 17 '11 at 11:12 PM

David 22 gravatar image

David 22
3 2 3 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Check that you have set the correct inputs in the Input Manager. The inputs are stored to each project. Otherwise it's hard to know what could be wrong, I take it that you don't have any scripts that alters the inputs at runtime, right?

more ▼

answered May 17 '11 at 11:19 PM

save gravatar image

save
8.2k 22 31 62

Thanks for the help, but for some odd reason when I re-ran my game it worked...If it ever happens again I'll be sure to try your option. Thanks for the (quick) reply!

May 17 '11 at 11:37 PM David 22

It almost sounds like something related to the actual hardware, might be that Unity doesn't go well with the drivers to your keyboard if you have an exotic variant. Sorry it's hard to tell. I sometimes get this on rare occasions when reloading a level several times with short time in between while testing.

May 17 '11 at 11:45 PM save

Are you sure that you focused your game view? If you click outside your gameview you switch the keyboard focus to another window (inspector,sceneview, whatever). Just click into the gameview and it should work.

May 17 '11 at 11:45 PM Bunny83

What Bunny said, this sounds like the most likely scenario!

May 17 '11 at 11:53 PM save
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x143
x36
x18
x8
x7

asked: May 17 '11 at 11:12 PM

Seen: 1148 times

Last Updated: May 17 '11 at 11:12 PM