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 a-cube · Feb 19, 2013 at 05:04 PM · androidperformancequalitytexture compression

How do I improve game quality and performance in android mobile game?

Hello, I'm new to Unity 3D and I'm on the process of building and deploying my first 3D game. However, the game is slow when I played it on android tablet. So I compressed some textures and removed some objects, but then the quality is poor and textures are pixelated. Any tips on how I should change the settings in my game in such a way that it will not reduce performance and quality? :))

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by barinelg · Feb 19, 2013 at 05:27 PM

Performance issues can range from a whole number of things, but in this case it sounds like there might be some coding inefficiencies (which isn't uncommon to those new to Unity as it's a little different than other coding platforms). Check out their performance guide on programming, which has some very interesting and useful tidbits.

Also, if you are using OnGUI for your GUI, there's something that can eat up a lot of resources. I think Unity 4 cleaned it up to run better, but it's still probably a source of slow down. If you are using GUILayout, that can be a major hit to performance as last I heard it recalculated all GUI rectangles on each OnGUI call. As OnGUI is called twice (one to draw, one to collect input), all those calculations add up fast. If you aren't using GUILayout, you can do the following to help boost performance:

 void OnGUI() {
     if(Event.current.type == EventType.Repaint) {
         //Do non-input GUI here, like labels, textures, etc.
     }
     //Rest of your GUI here
 }

This makes it so that it only draws the Non-control GUI on a repaint call, which is a waste of resources otherwise. You can also look into GUITexture which does a better job at drawing but can be a little trickier to code.

Note that the GUI stuff may become outdated and not needed whenever the new GUI system comes around.

Doing things from the performance guide, the Repaint call, and the GUITexture thing greatly improved the overall performance of our game. Hope this helps!

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 Subzero619 · Feb 19, 2013 at 05:43 PM

This depends on whether you are using Free or Pro.

Since Pro has Occlusion Culling which only renders what the camera can see. You could combine meshes. There are some plugins which allow you to do this and there is a free one on the asset store if you dig around.

http://u3d.as/content/purdyjo/draw-call-minimizer/2FW

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

On Android. How many lights can you have in a Scene or the total game? 1 Answer

Game runs REALLY badly on Sony Tablet S 2 Answers

Android Performance with 2d BoneBased Animation 0 Answers

Very slow game startup on android. 1 Answer

Extremely poor Android performance, even in simple scenes 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