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 StephanK · Feb 23, 2012 at 06:31 PM · androidrenderinggraphicsperformance3.5

Device.Present goes crazy?

We recently updated from 3.4 to 3.5 and today I noticed a really weird behaviour on Android. (tested with Galaxy SII) From time to time the game seems to stop for 1+ second. Although staring at it for about an hour I couldn't find any pattern in when this happens and when not, only that after some time it happens regularly (approx. every 5 - 10s).

Looking at the logcat profiler and the editor profiler while running the game on the device showed that the stops are caused by cpu-present or more specific the Device.Present function. While most of the game runs with an average frametime of ~20ms with spikes not exceeding 35 on some frames the Device.Present function takes up more than 1 second, which seems ridiculous.

Any idea what could cause this? I hadn't noticed this behaviour while using 3.4, so I am suspecting a bug, but I am not sure when this behaviour started exactly.

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
2

Answer by srmojuze · Jul 09, 2016 at 08:20 AM

Note: This issue is popping up in 2016, Unity 5.3.x and is top on Google searches, hence my reply...

Most likely a bug when building a "fat" binary (ARM+ x86) or (ARM + ARM64(?)). Destroys framerates for some reason. Building for ARM only helped somewhat.

Comment
Add comment · Show 1 · 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 rsodre · Aug 30, 2017 at 02:38 PM 0
Share

No changes for me :(

avatar image
1

Answer by dannyskim · Feb 24, 2012 at 06:26 PM

Hmmm.. Have you looked at your Quality Settings for your project? I had issues with a lot of settings getting changed around when I imported and updated a project to be compatible with 3.5.

I actually had issues with this before. My behavior was quite different from what you were explaining, but this was with 3.4.1f5 I believe. Try changing the VSync Count to Don't Sync, I believe in 3.5 it's defaulting to Every VBlank even on lower settings such as 'Good.'

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to recover Auto Graphics API for Android back to default? 0 Answers

Vsync on or off? 1 Answer

Does rendering the game at lower resolution consumes less power on Android? 1 Answer

Reduce A Project's GPU Workload 0 Answers

Android Graphic glitches 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