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 /
avatar image
0
Question by Sayon · Mar 24, 2018 at 04:26 PM · editorplayerbugperformanceprofiler

Bad Performance in Unity?

So, I posted a thread in the Unity forums earlier this week about how I was experiencing bad performance in Unity just out-of-the-blue. This was between all projects I had (new and old) and seemed to be caused by AudioManager.Update(). The audio manager would take up to 50% of Unity's CPU usage at times and would cause both the Editor and Play mode to be incredibly laggy (interestingly it also caused building my game to become so slow it was basically impossible to build). This was despite my projects having no audio in them whatsoever. I ended up fixing the issue by reinstalling Unity. Everything ran smoothly like it had before as the AudioManager.Update() method was no longer eating up CPU usage.

Unfortunately, the issue has returned upon opening Unity today; the AudioManager.Update() method was once again eating up CPU usage. Now, I could fix this problem by reinstalling Unity again, but seeing as how this issue returned I think that would just be a waste of my time. So any ideas on how to fix this?

Some things I have tried:

  • Reinstalling Unity

  • Updating Drivers

  • Checking for Windows Updates

  • Closing all other (non-essential) programs besides Unity

  • Deleting Library and Project Settings folders within my Projects' folders

  • Deleting everything related to Unity within the App Data folder.

Every single one of these (besides reinstalling Unity) has seemed to have no effect on this issue.

As a side note I don't think this is a hardware issue either, seeing as how everything else on my computer runs smoothly as it ordinarily would.

Previous Thread: https://forum.unity.com/threads/solved-bad-performance-in-unity-editor.522620/

Editor Profiler (Image Link)

Player Mode Profiler (Image Link)

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Glurth · Mar 24, 2018 at 05:04 PM

Some other things to check:

Virus Scan: go into your antivirus program, and make sure that the unity program files are excluded from AV scanning. (At least exclude files in these folders from READ scans, though it should be ok to allow it to scan when WRITING files.) I'll grant; this does not explain why it is SUDDENLY taking longer, but it's POSSIBLE it's related to an AV update.

Windows Update: I would recommend DO NOT apply these automatically- apply on command only: This way you can test unity immediately afterward. But at this point, now that the issue has recurred... you can try rolling back your current updates with system restore. Also importrant: I try to apply only "important" windows updates, and leave the divers (usually "optional" updates) to be done manually, as needed, from the manufacturer, not Microsoft. EDIT: also you mentioned you have updated the drivers, perhaps this happened automatically, and the new version has compatibility bug? Have you tied using an older version of the driver too?)

Disk space: make sure you have sufficient free space. to handle both the install, and your windows disk cashe)

Defrag: Reinstallation COULD be resolving it because this (usully) results in less fragmented files. Suggest running a defrag operation.

Multiple sounds "cards": make sure your bios and windows are configured to use only one audio device. Sometimes I've found it neccessary to disable "on-board" motherboard devices, in BIOS, when using the same kind of device in an expansion slot.

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 Sayon · Mar 24, 2018 at 07:53 PM 0
Share

After defragmenting my drive, rolling back my graphics card driver, and restarting my computer the problem seems to have gone away. I also restarted my computer a second time to make sure that it did not come back like last time. Hopefully it's gone for good.

If I had to guess it was the defragmenting that fixed the isssue, like you mentioned reinstalling Unity had previously fixed the issue which may have resulted in less fragmented files.

Thank you for your help!

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

130 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

Related Questions

Editor incredibly slow, weird profiler output. 1 Answer

Unaccounted time between: WaitForTargetFPS and GPUProfiler.EndQueries 0 Answers

Opening profiler increases FPS 1 Answer

Unity Profiler slows Unity to a crawl (basically crashes) when using square root functions 1 Answer

Is there a way to check the performance in edit-mode? 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