Search Unity

"Input.KeyDown" doesn't work when I "build an

Discussion in 'Editor & General Support' started by Lalo, Jan 4, 2010.

  1. Lalo

    Lalo

    Joined:
    Jan 4, 2010
    Posts:
    21
    Hi guys

    In the Unity Editor everything works in the right way, but when I click in the option to "Build Run" my project I have got a problem.

    I've got a car game and when I try to make another key works ( apart arrow keys and "wasd"), it doesn't work.

    I export to Standalone Windows OS and just arrow keys and WASD works, my super "turbo speed" for space key just doesn't work.

    Repeat, everything works fine in the Editor Simulation but not for the real .exe

    I use Unity 2.6.1 (free edition). It's my guess that free license doesn't a problem 'cos I exported the other (Island and Lertz) projects with a lot of key function and everything is ok.

    Thanks in advance fellas

    Lalo
     
  2. Lalo

    Lalo

    Joined:
    Jan 4, 2010
    Posts:
    21
    Hi there

    I fixed it!

    The real problem was my scale model (3dsMax) and the way that I exported by FBX.

    So, if you've got very rare problems with your build and run, you should to try open a new project and try with new and good models.

    Lalo