Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 AlphaGarg8447 · Feb 20, 2020 at 02:17 AM · profilerperformance optimizationhudlow fps

Gfx.WaitForPresentOnGfxThread costing over 30ms at RANDOM

I've looked around for reasons and/or solutions and all I could find were people claiming they only had issues within the editor. I however am getting these same completely random performance spikes on builds, x86 and 64 bit, regardless of hardware. I've tried disabling stuff in the scene to no avail - sometimes disabling the JeepFox does it, sometimes disabling all NPCs, sometimes disabling Water4. It's no use. Here are some screenshots of the profiler showing the issue. Note that the issue persists in Editor, with profiler on and off, and in build. alt text

The next frame: alt text

Then, suddenly, it goes back to normal.. alt text

.. only to get even worse a few seconds after that.alt text

I'm really at a loss here. I've been working on this project since January of last year non-stop, always keeping the Unity version in use up-to-date. I've seen people suggest it's the GPU waiting for the CPU, because the CPU is too slow - if that were the case then it wouldn't be 90% of the CPU time dedicated to just waiting, now would it? Nor would it fluctuate as randomly as it does. Obviously 15 frames per second is unacceptable for any kind of game, especially a first person shooter, so I really need this fixed in the next few months. I saw it marked as a bug introduced in some version of 2019, then fixed in another one, only to be fixed again in Unity 2020? How do you fix the same thing twice? Unless it was never fixed. Is there ANYTHING I can do to at least remedy this terrible performance without mechanically or visually downgrading my game? I'm running it on Vulkan as you can see on the first screenshot, and with as few packages as possible.

On a side note, all the thumbnails for assets in the project (materials, models, terrain layers, etc) are now just black squares. Reimporting all assets fixes it for the current Unity instance, but the moment I close and re-open it again they're all black once more. That, and I'm getting a LOT of "Requesting non existent keyword at index [number]" errors on startup. Both of these might be relevant, but I have no idea. Really, I'd just like for everything to work again...

Comment
Add comment · Show 1
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 AlphaGarg8447 · Feb 20, 2020 at 04:29 PM 0
Share

BY THE WAY: I am fine with buying an asset that fixes this issue if that's the only solution present at the moment. Just putting it out there. Also, here's an example of the Gfx.WaitForPresentOnGfxThread making everything even worse: alt text

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

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

Unity 5.3.3. low fps in editor, doesn't use all available proccesing power 3 Answers

Performance Problem: Unaccounted time between: LateBehaviourUpdate and CanvasRenderer.SyncTransform 2 Answers

Performance issues with many objects/lights 1 Answer

Not in a hurry, but does anybody wanna share some good optimization practices? 0 Answers

Having a problem with low frame rate and performance in unity? 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