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 · Mar 29, 2015 at 03:04 PM · inputcontrollerplayerprefs

HELP! PlayerPrefs.DeleteAll(); caused my controller to not be recognized in the editor. Unplayable.

I'm working on a project with controller support. The controller was working just fine until I used the PlayerPrefs.DeleteAll() function. Now it doesn't recognize my controller in the editor. It works fine in other projects, and it works fine when I use Build & Run. I use a PS3 controller with an XInput wrapper, so basically an XBox 360 controller. (And like I said, it works fine in everything else, so it's not a driver issue.)

Is there some kind of data in PlayerPrefs that I deleted that caused this? I've been searching for hours with no answers, and I'm starting to despair, as now my project is unplayable in the editor. Maybe I can re-map controls to my controller for the editor somehow? While in the editor, I can still jump by clicking the mouse, but I can't get any controls to make him move. I've been unable to make him move with keyboard buttons for a while, though, ever since I got the controller to work. Not sure why.

Please help. I'm kinda freaking out a little over here, since I think I borked my project... I have some backups I can jury-rig a solution out of one way or another, but I'd really hate it to come to that... Thank you.

Edit: Now it's happening even on new projects! But only after closing and re-opening a scene. When I first create a project, I create a scene and add a plane and the Third Person Controller from Standard Assets. I hit Play, and everything works fine. I can walk around like normal. Then I save the scene, close Unity and open it again, hit Play, and nothing works. Not the controller, not the keyboard. I don't know if the mouse works, but it does in my other project where "jump" is still mapped to Left Click. What the hell is going on?

Comment
Add comment · Show 3
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
avatar image Notter · Mar 29, 2015 at 03:11 PM 0
Share

Edit > project settings > input

check that the fields there are not empty, those are the key bindings.

avatar image DarkDrai · Mar 30, 2015 at 10:01 PM 0
Share

All of those fields are exactly as they're supposed to be. The controller still isn't being recognized.

avatar image DCallaPlayful · Oct 31, 2016 at 08:10 PM 0
Share

Was there any resolution to this? A $$anonymous$$mmate is experiencing this (controller not working in editor only) with Unity 5.4.0p4 and an XBox One controller on Windows 10.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

New input system controller stops detecting on fully pressed trigger? 0 Answers

Using a PS Vita as a controller? 1 Answer

Read analog stick input without using the Input Manager 1 Answer

Mapping multiple controllers 1 Answer

Permanent unintentional Input on Axis 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