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 BlewScreen · Apr 10, 2013 at 09:41 AM · androidperformancephonetabletframe rate

App plays well on Android phones but really slow on an Android tablet.

We built an app for IOs and Android and both are released to their respective stores. The Android version works like it should on any (up to date) Android phone but performs horribly on an Android tablet. Loading times are a lot longer and the "interactive" part has a very low framerate. Menu's perform fine.

The "interactive" part of our app consists of: -the camera of the mobile device being activated (resolution forced through code, but non-functional) -A PNG sequence (512x384, about 160 frames at 16 fps) with alpha channel is layerd over what the camera is seeing. -The result is not being captured. Everything is all real-time. -Two buttons that can be activated by touching the screen: replay and exit.

You can find the app here: https://play.google.com/store/apps/details?id=com.BlewScreen.Ijssellinie&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5CbGV3U2NyZWVuLklqc3NlbGxpbmllIl0 The screenshots with a water (which are a different resolution than in-game) show the two sections which pose a problem for Android tablet.

I have had no luck finding an answer online elsewhere.

We assume it could be the way we actually build the project into an apk. Where could we look first? It does not seem to matter whether the apk is signed or not though, concerning performance. Or could it be a problem with the camera resolution? Because this is a bit different from an Android phone. If so, how to tackle it?

We use Unity4.0 Pro and pro licenses.

What could cause the difference in performance between phone and tablet?

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 BlewScreen · Apr 17, 2013 at 08:16 AM 0
Share

We think we have solved the problem. In the build settings the orientation was set to landscape left. This works fine for phone but not so good for tablet (which has a standard landscape orientation). $$anonymous$$ade the app recognise whether it is played on a phone or a tablet and set the orientation to auto. This seems to work fine.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Nidre · Apr 10, 2013 at 10:48 AM

That could be related to fillrate.Usually tablets have very low fillrates compared to phones.

Try to avoid transparent object as muhc as possible for tablet version.

Take a look at this : http://docs.unity3d.com/Documentation/Manual/MobileOptimisation.html and there is a discussion about fillrate at http://forum.unity3d.com/threads/109463-Why-is-overdraw-fill-rate-such-an-issue-on-Mobile-Dev

Also this topic explains what is fillrate : http://en.wikipedia.org/wiki/Fillrate

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 BlewScreen · Apr 10, 2013 at 04:35 PM

Thank you Nidre. We tried replacing the sequence (that has tranparancy) with a sequence which was non-transparant. It even made the app run slower unfortunately. The transparancy does not seem to be the problem. The thing is that the main feature in the app is the PNG-sequence with transparancy and a running camera. Thank you for your advice though.

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

11 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

Related Questions

Is there a way to determine Android physical screen size? 5 Answers

Android Tablet vs iOS iPad performance difference 0 Answers

What are the best android phones for developing games in unity3d? 1 Answer

Best way to sync between different mobile devices? 1 Answer

How to adjust the screen for many types of screens in Android? 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