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
1
Question by NaxiaLascif · Jul 17, 2013 at 11:41 PM · touchscreennguitouchcountunresponsive

Android Screen Unresponsive to Touch After Many Activity Changes

I have a Unity game, and when it runs on an Amazon Kindle device, after several activity changes, the screen becomes unresponsive.

It has a low occurrence rate, but when I am able to reproduce it, it's either by initiating an In-App-Billing pop-up screen (the standard Amazon one), opening up the Facebook/Twitter post pop-ups, or switching across different applications. If I spam the button that prompts the Amazon IAP dialog, I can repro it the easiest.

I'm pretty sure that the device is in a state where it is confused what activity is on top and is taking input. Would that be correct?

The game isn't crashed at all, I can still see things animating, and the OS back button properly navigates backwards through the screens all the way to the exit prompt.

When I get into this state, my touch count is zero. I have a log message in the camera's update that gets called every 3 seconds, and that continues to log, but the log message I placed inside the for loop of the touch count stops getting called once I am in this state, no matter how much a touch the screen, it never enters this: for (int i = 0; i < Input.touchCount; i++) Debug.Log("ProcessTouches");

So somehow the touches are never getting registered to Unity's Input

UPDATE: As an interesting experiment, I decided to broaden my test range on this issue. Instead of limiting it to my Amazon build on the Kindle Fire, I decided to put a regular Google Play build onto the Kindle. Issue occurred. Then I tried the game on my S3, and while it took a lot more task switching to repro it, it finally occurred. Then, for kicks and giggles, I tried another Unity game I had purchased months ago (Bladeslinger) on my ASUS Infinity tablet. Sure enough, initiating and canceling the IAP eventually put their game in a state that no longer accepted input, yet still responded to the system back button.

Long story, I guess this is just a Unity bug, and maybe a pre-4 bug, since this game was most likely made with Unity 3 given that it's been out for almost a year.

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

15 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

Related Questions

Count a touch in half of screen 2 Answers

Transitioning from different number of touches causes behavior overlap 0 Answers

Player movement for iOS? 1 Answer

Destroy on touch 1 Answer

What is the difference between iPhoneInput & Input ?? 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