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 ktweedy1 · Mar 18, 2012 at 04:51 AM · editorinputgame window

Problem with mouse/keboard input in Editor Game Window

Everything has been fine but today I hit play and in the Game window I am not getting my mouse and keyboard input.

I tried BootCamp and AngryBots and they both have the same problem. If I build and run the build they work fine so its something with Unity Editor Game window. The scene view and everything else works fine.

When I run AngryBots the camera will follow my mouse movement and I can make it fire when I press the left mouse button but I can't get WASD or arrow buttons to move the character. In BootCamp the camera is not following my mouse movement but I can shoot the gun. I can not get the caracter to move. Shift and control doesn't make him crotch. When I hit escape it takes me out of the mouse lock mode and I see my mouse cursor but I don't see the Resume Menu.

I recently updated to 3.5 and not sure this has worked since I updated.

I reinstalled unity, I rebooted. etc. But no luck to fix this.

I created a new project, I made a script and add this one line to it. It always returns false.

 using UnityEngine;

using System.Collections;

public class KeyboardTest : MonoBehaviour {

 // Use this for initialization
 void Start()
 {

 }

 // Update is called once per frame
 void Update()
 {
     Debug.Log(Input.anyKeyDown.ToString());
 }

}

Comment
Add comment · Show 1
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 rutter · Mar 19, 2012 at 01:03 AM 0
Share

Any similarity to this thread?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ktweedy1 · Mar 19, 2012 at 03:15 PM

thanks rutter. This link was able to help me to get it to work.

It was similiar. I tried the DirectInput registry change but I was already set to that.

So What I did is deleted all the Unity registry trees. There was a couple, Unity, Unity Technologies and something else in the HKEY_CURRENT_USER/Software tree.

I think was happend is I had two installs, 3.4 and 3.5 and something having both got it confused.

Comment
Add comment · Share
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

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

Input in editor scripts 2 Answers

Detect input from EditorApplication.update callback? 1 Answer

Keyboard fails to work during play mode but OK in build. 1 Answer

Visual in sprite editor - then invisible sprites in scene + gui??? -- images included 0 Answers

How to detect if project is Using new or Old Input System via code? 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