Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by dan5071 · Mar 01, 2016 at 04:17 PM · mobilegraphicsperformancelag

Large Graphics.PresentAndSync Spikes on Android

I've been working on a simple 2D mobile game for a while, and since Unity 5 has come out I've been having a lot of trouble making rigidbodies move smoothly across the screen. Up until last night, I had unity 5.3.2 and I encountered MASSIVE spikes due to culling and physics.processing, even though I was using neither (I am using 2D physics, but my understanding is that physics.processing is only affected by 3D physics). These spikes were causing a very noticeable lag in the game, which made it basically unplayable. I just downloaded 5.3.3 last night and thankfully those two problems seemed to magically disappear. However, I'm now having a similar problem with Graphics.PresentAndSync. It spikes up to 90% sometimes for absolutely no reason and it's still a totally game-breaking issue, which is a big problem because I am hoping to release my game this weekend.

Below are snapshots of the profiler running off of my Android device with an empty scene (nothing but the camera). As you can see, there is still a substantial amount of processing dedicated to Graphics.PresentAndSync even though there are no graphics at all...

alt text alt text

I don't understand how this problem can still exist even with an empty scene and I'm completely baffled. I haven't been able to make a smooth game since I downloaded Unity 5 and this is getting incredibly frustrating. Does anybody have any idea why this is happening? Is my best option just to downgrade to an earlier version of Unity?

UPDATE: Tested on iOS and the same problem is there. I really need to know if someone has an idea why this is happening before I try an older version of Unity.

presentandsyncgraph.png (68.1 kB)
presentandsyncstats.png (11.6 kB)
Comment
Add comment · Show 2
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 andSol · May 09, 2016 at 04:11 AM 0
Share

Any luck? I am facing the exact same problem

avatar image Stamblew · Oct 17, 2017 at 04:08 PM 0
Share

@dan5071 did you find something? I have the same issue and I couldn't find a proper answer

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by moh05 · Apr 11, 2016 at 11:07 AM

Hello, I am facing same problem. Any luck?

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 MileSplit · Jan 22, 2017 at 04:51 PM 0
Share

Also having the same problem :(

avatar image
0

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

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 · 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

73 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 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 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

Mobile Performance Issues 0 Answers

Gfx.WaitForPresent rant, and editor fix 0 Answers

Lags while camera movement (gfx.waitforpresent) 0 Answers

Android: Is thermal throttling controllable within Unity? 0 Answers

Movie texture lagging 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