-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Physics Character Controller Demo not working without INPUT define #194
Comments
@JoelFrutiger Thanks! |
I add it and it made mouse start working but not keyboard. Its absurdly disheartening that we're dealing with a super mature game dev project with multiple input 'systems' and hundreds of lines of code about moving the player and yet it cannot detect 'WSAD' or any keyboard input, and there's no warnings, no checks nothing. it just doesn't work. I've programming for 25 years and here I am 2 hours later unable to just get it to detect WSAD input to move the character controller of the demo. I can't believe using the mouse required that crazy define above, and i can't believe this not addressed after months. |
Hey! #if UNITY_INPUT_SYSTEM_EXISTS |
@myeg yeah i see in the code there are these #if UNITY_INPUT_SYSTEM_EXISTS and I did add that thing on the scripting define symbols, and that makes the mouse work, but not the keyboard. When using keyboard debugger, i see for example when I press w is says 'character w' and when i press s it says 'format=KEYS' s But ubuntu 20.04 is current LTS and so it's quite sad that the unity input system doesn't work. EDIT: FURTHER INFO: That's really weird. it's as though it's shifted 'down' 3 rows. some kind of 'high bit' or something is off. but the keyboard works fine in all other apps |
If you are not using the new Input System and dont want to enable this scripting define you can paste this code to the start of the DemoInputGatheringSystem OnUpdate() #if !UNITY_INPUT_SYSTEM_EXISTS |
Please unity developers, can you fix it? |
In order for the Character Chontroller demo to work i had to add the UNITY_INPUT_SYSTEM_EXISTS to the defines. Maybe this should be added per default in the ProjectSettings.asset:
scriptingDefineSymbols:
1: UNITY_POST_PROCESSING_STACK_V2;UNITY_INPUT_SYSTEM_EXISTS
The text was updated successfully, but these errors were encountered: