Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 /
  • Help Room /
avatar image
14
Question by lucascmgs · Feb 13, 2020 at 02:35 PM · inputtouchtouch controlstouchscreen

Touch does not work with the new Input System

Hello, I'm using Unity 2019.3.1f1 with the new Input System and I'm having some problems.

So, I have my input actions defined as such: alt text

These actions are mapped to events like this: alt text

The problem is, it doesn't work with any touch screen. The Input System's documentation mentions that touch screens should work with actions as if they were any usual pointer, but I cannot get mine to work at all, even though I can use my mouse just fine.

I've also tried to change the actions' Paths to touchscreen only, with no success.

I should also mention that I can read the touch screen's values just fine (for example, reading the position from Touchscreen.current), but I cannot make interacting with the screen trigger my defined Actions. Am I doing something wrong?

anotacao-2020-02-13-001641.png (35.7 kB)
anotacao-2020-02-13-001759-aa.png (50.5 kB)
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 Ricky-Brno · Apr 11, 2020 at 10:15 PM 0
Share

@lucascmgs Did you happen to make it working? There's so few mentions of this on internet that I thought I must be doing something wrong... I'm constantly updating to latest version, tried 2 different androind phones to exclude issue with the phone, tried to build the app to exclude issue with anything on PC, but just nothing... I've noticed that I can't even see my phone input debugger (not sure I suppose to see it there, but during Unity presentation that iPhone/iPad system was there). Tried to use touch as input as well as pointer, no difference. Tried also the sample scene for input system, it's not working there as well. I spent like hours trying to figure this out, but in the end fell back to old input manager for touch control, which works just fine. But I still want to make this working

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by fuczak3 · Jun 10, 2020 at 01:39 PM

Same issue here. I ran the Touch Samples, but touchscreen doesn't work. Please also see StackOverflow question: https://stackoverflow.com/questions/62304100/unity-2019-3-11-f1-unity-input-system-1-0-0-unity-remote-5-iphone-8-touch.

Update: unity remote 5 is not synced with new input system. It will be fixed in future.

Comment
Add comment · Show 1 · 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
avatar image PeanutButte7 · Jul 25, 2020 at 05:40 PM 0
Share

I thought I was doing something wrong... turns out it just doesn't work with the remote app as you said. Thanks, I wouldn't figure this out without you. This should be a more upvoted issue.

avatar image
1

Answer by quickytools · Jun 08, 2020 at 04:18 PM

I came across this sample today ... It can be imported and downloaded with the package manager under the Input System 1.0.0 asset Touch Samples. According to the Github this sample has existed prior to Oct 10 2019. I can't believe no one has posted about this as I've been searching the internet for anything like this for a month now.

Comment
Add comment · Show 1 · 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
avatar image potatomasterrace · Sep 30, 2020 at 07:24 AM 0
Share

wow thinks dude, exactly what i was looking for. and i see there is also a sample for gamepad mouse cursor, something else i need too.

avatar image
1

Answer by Krnitheesh16 · Apr 14 at 01:25 PM

Yeah Unity Remote doesn't work with Unity's New Input System, but you can use Legacy Input System by enabling both in Edit -> Project Settings -> Player -> Active Input Handling to "Both".

For development, you can use "both" input systems, for production you can switch to "New Input System" because Unity's Remote only doesn't support New Input System, but Your Mobile Build will work with New Input System


In Simple words:

Use "Both" Input for Remote Play (For Development)

Use "New Input System" for Mobile Build App (For Production)

I'm just using this technique. It just works fine!


inputsystemforremote.png (91.6 kB)
Comment
Add comment · Show 1 · 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
avatar image
0

Answer by jhouser80 · Mar 02, 2020 at 12:59 PM

Same issue

Input.touch has the data and if I use the old eventsystem ui input module at least hi elements work but the touch position, Delta etc do not. Pointer on mouse works.

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
avatar image
0

Answer by fgbg · Jun 13, 2020 at 09:44 AM

Oh ok. I just made a post about how my touch controls using the new input system work in the actual build on my android device, but not through remote 5.

Is this possibly why?

Comment
Add comment · Show 1 · 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
avatar image lclemens · Sep 16, 2020 at 08:40 PM 0
Share

The reason why is this: https://forum.unity.com/threads/new-input-system-and-unity-remote-5.735968/#post-6200318

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

260 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android| Camera scrolling 1 Answer

New input system and touch on webgl 1 Answer

Touch on 2D gameobject: should i use a GUI button? 1 Answer

When The Screen Is Touched Jump 0 Answers

OnScreen-Stick that moves to the position touched 0 Answers


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