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 UnbreakableOne · Jan 13, 2015 at 12:37 PM · androidcrashlagprofilerdelay

Android lag on Nexus 7 (2012)

Hi,

I have a fairly simple game that some objects spawn at top of the screen and move down with a very simple translate on their update call. I have 4 objects at most and Android builds lag on Nexus 7.

I don't the lag on Galaxy Tab 10.1 which is an older device though.

I checked with profiler but could not see any spikes of performance hit. I can't debug on Nexus 7 because apparently Unity crashes and it's a known bug.

Is there any known problem with this device?

OR how can I debug this problem further?

Thanks.

Comment
Add comment · Show 6
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 AndresBarrera · Jan 13, 2015 at 01:12 PM 0
Share

I have a Nexus 7 and I can play on it without problems. Do other games present this problem on your device?

How many draw calls have your game? Are you using physics? The lag starts after a while or right from the beginning?

avatar image UnbreakableOne · Jan 13, 2015 at 02:24 PM 0
Share

Hey thanks for the reply!

I don't see bugs in other games but despite flashing 4.4.4 recently on it, I sense some lag in general UI as well but other games seek O$$anonymous$$.

To answer your questions:

Draw calls are like ~16.

I'm using 3D physics since game was developed before Unity's own 2D system. Utilizes 2D Toolkit.

Lag is not consistent, it comes and goes. Like stutter. I display framerate on the screen and goes from 59 to sudden 48 and then up again.

Game is fairly simple and I'm wondering why it is the case.

In the mean time I've tested with some other devices and it's way better on them, even though some of them have inferior processing power.

avatar image AndresBarrera · Jan 13, 2015 at 02:41 PM 0
Share

Are you destroying/instantiating objects frequently. Do the lag spikes seem to be related to these actions? If yes, then you can try using object pooling.

It is weird that it works better on inferior devices :S

avatar image UnbreakableOne · Jan 13, 2015 at 03:03 PM 0
Share

I'm not pooling, even though I should but if GC is the problem, why it won't show itself on other devices?

Also I don't see a GC spike in profiler neither and I see the lag from start of the game, it won't happen after some time.

Is there any solid way to test the performance of the device like if it's acting as the way it should or not?

avatar image phuongdong008 · Jan 22, 2015 at 05:35 AM 0
Share

Hey UnbreakableOne, I have the same issue like you. Did you find any solutions for it??? Thanks.

Show more comments

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

27 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

Related Questions

Overhead spike of 46.2ms when profiling on Android!!! 1 Answer

[SOLVED] Android Lags Then Crashes When Looking Around 0 Answers

Android Development Build Crashing After Splashscreen 2 Answers

GPU (render time) increase if screen size increase 1 Answer

Very Bad Performance on Android 3 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