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 KnitterX · Apr 23, 2015 at 05:06 PM · androidbuildlagplayer settingsfast

Game too slow or too fast on Android

Hello! I tried to build a protoype of my game and run it on an Android phone. On the first try it was really slow. Much slower than on the pc. Then I tried changing the rendering paths in the player settings and suddenly the game was extremely fast. So fast that it was impossible to play and glitches occured. Like, at least 5 times faster than on my pc. At first I thought the game is too heavy for the phone's hardware but that doesn't explain why it is too fast. Also, I don't think the game is that hardware heavy. There's really not much on the screen at the moment and there will be much more in the final version. What causes this issue and how can I solve it? Are there any recommended player settings for Android phones? And what rendering path should I choose?

Thanks.

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
1

Answer by HenryStrattonFW · Apr 24, 2015 at 09:52 AM

If things are running too fast, then that sounds like you've not taken Time.DeltaTime into account when doing movement of objects etc. So your objects movement speeds are based on framerate instead of time. This seems like the most likely explanation for something running "Too Fast".

Recommended settings on Android phones is hard to completely cover, as there is an insane amount of hardware fragmentation on the Android platform. A good rule of thumb though on mobile is to do things as cheaply as possible, so if you can achieve the right look in your game using lighting baked into textures and nothing but unlit materials, do so. If you can get away with just vertex lighting and a small number of directional lights, do so. Also look into 'Draw Calls' these should be kept low wherever possible as high draw calls will likely cause significant frame rate drops on mobile devices.

Comment
Add comment · Show 3 · 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 Fappp · Apr 24, 2015 at 10:20 AM 0
Share

This guy is probably right first!

avatar image KnitterX · Apr 27, 2015 at 01:08 AM 0
Share

I'm not using time.deltaTime for the movement. The movements happen per frame. I just thought it was weird that in some settings the game is even faster than on the pc. Is there no fps limit? That must have been like 150 fps or so.

I will check out the Occlusion Culling when I have an Android phone again. Thanks!

avatar image Fappp · Apr 28, 2015 at 10:56 AM 0
Share

deltaTime is very, very important for making your game run at the same speed on every device.

It's thus important, Unity made a video tutorial on it themselves. ( and posses way better explanation skills as I )

https://www.youtube.com/watch?v=a-w7w8x_moE

avatar image
0

Answer by Fappp · Apr 24, 2015 at 10:18 AM

Nothing on the screen doesn't mean it isn't rendered. Have you implemented Occlusion Culling? Leads to huge performance increase in video mem usage.

It's really easy to setup: http://docs.unity3d.com/Manual/OcclusionCulling.html

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Build game moves incredibly fast and blurry 0 Answers

Android splash screen not working 4 Answers

Android Build is flickering and breaking the game 0 Answers

Distribute terrain in zones 3 Answers

Error building Player: Exception: android (invokation failed) 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