Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by DarkDrai · Apr 15, 2015 at 09:49 AM · inputplayerprefskeyboardinputmanagerbuild and run

Keyboard unresponsive IN NEW PROJECTS! Mouse works. Registry problems? PlayerPrefs.DeleteAll()?

(This is a re-post of a question I asked on the forums.)

I used PlayerPrefs.DeleteAll() in one of my projects (well, my main project), and now the keyboard (and my PS3 controller that my computer thinks is a 360 controller) won't work IN ANY PROJECT. This only happens with my own projects when using the Play button in the Editor.

The mouse still works.

Using Build and Run still works.

Other projects (not built by me, such as the Standard Assets Example Project) still work. (Edit: This is no longer the case. See edit below after reinstall.)

At some point, I got a couple prefab character controllers to work, but then after quitting and restarting Unity and loading the scene again, they stopped working. (I don't know how to reproduce this, as currently anything I do doesn't seem to work.)

My InputManager is set like this:

alt text

When I run this code, I get a console message, "True", whenever I click. But when I press the Space Bar, I get nothing.

 void Update ()
 {    
     if (Input.GetButtonDown("Fire1"))
     {
          print (true);
     }
 }

I've heard it could be a Registry issue. I have no idea how to fix a Registry issue, so I seriously need some help before I can even work on any projects.

I've heard this particular entry causes problems. I don't see it where it's supposed to be, and I haven't tried to change it manually, though PlayerPrefs.DeleteAll() could have erased it when I actually need it:

 [HKEY_CURRENT_USER\Software\Unity\UnityEditor]
 "Input"=-

Does anyone know what this does? Should I attempt to add this to the Registry? (And if so, how to?) Can anyone help me restore the Registry to factory conditions? I'm going to try to reinstall everything, but that still seems like the wrong solution. I should be able to use PlayerPrefs.DeleteAll() without having to reinstall Unity just to make games work again... (And I have a bad feeling it won't work...)

Someone please help. This is problem is making me crazy...

Edit: Reinstalling didn't work.

Also, after reinstalling, the newest Standard Assets Example Project doesn't work using the Play button. However, the older one left over from the old install DOES still work using the Play button. I'm baffled.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Multiple Players on one Computer/Console 5 Answers

Unity's 2D Gamekit Input problem 1 Answer

Input.GetButtonDown not working at ALL 1 Answer

Input.GetKeyDown doesn't work with several keys 1 Answer

InputManager doesn't detect gamepad numbers correctly 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges