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
1
Question by Whiteleaf · Jul 06, 2016 at 07:56 PM · unity 5performanceoptimization

Is it just me or is performance is Unity 5 very poor?

Now I will admit my computer isn't top of the line, so just know that.

Ever since I upgraded to Unity 5 (back when 5.0 was released fully to every one), my performance has dropped significantly. I used to get 200+ fps in nearly every game I created in Unity 4, however in Unity 5 I get much lower, usually averaging around 80-100 fps.

I get that Unity 5 introduced new lighting and new PBR shaders (although they claim they're extremely optimized shaders, so), but this should not be happening. I have even switched all my shaders from Standard to Legacy->Diffuse/Bumped Diffuse. Still not a big difference. Baked lighting makes a different, but only around 30 fps is gained.

If I had 6 point lights in a scene in Unity 4, no realtime shadows: 100+ fps. With shadows it would be around 60-80. Unity 5 with 6 point lights no shadows: 40 fps. With shadows, 20 fps.

And get this, I actually upgraded my computer a bit from what it was from Unity 4. When I was using Unity 4 I had a very old single core processor, now I have a quad core with 4 threads that was free. Same GPU, although still not a very powerful one.

Can anyone help me? I've spent hours looking at optimization threads and official unity pages, so don't link me those please. I've tried all lighting paths, Forward, Deferred, both Vertex Lit (Vertex Lit is a bit faster, but it's only useful if I add a lot more verts into my models). Checked all of the 'optimization' options in the Player Settings. Optimize Mesh data, Preload Shaders, Static Batching, Dynamic Batching, etc.

I've also seen that people are complaining about performance on mobile, so it's obviously not just me. (I think haha) Thanks for the help.

Comment
Add comment · Show 4
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 tanoshimi · Jul 08, 2016 at 07:06 AM 0
Share

You can't optimise performance by guessing; you need to know what part of your game is causing the bottleneck. I'm surprised that you didn't come across the profiler in your hours of searching, which has been available to all users since Unity 5.x and will tell you exactly what you need to concentrate on.

avatar image Whiteleaf tanoshimi · Jul 08, 2016 at 04:57 PM 1
Share

I use the profiler all the time when my game lags. $$anonymous$$ost of the time Gfx.WaitForPresent is causing lag, and I've looked into fixing it but I haven't found much. I've also found out that disabling vsync gives me more frames (obv as it tries to sync to the hz of the monitor), however this can bring in video $$anonymous$$ring.

avatar image tanoshimi Whiteleaf · Jul 08, 2016 at 08:11 PM 0
Share

High Gfx.WaitForPresent suggests that you're GPU-bound. What shaders/image effects are you using? Post an image of the GPU profiler here and we can take a look.

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
-1

Answer by Pitzzacutter · Jul 16, 2017 at 10:58 AM

strong text Unity3d only good for mobile and not pc or other platforms cuz unity base make on flash ! and rendering in run time , not compiled

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
avatar image
0

Answer by Hassan_N · Jul 08, 2016 at 06:21 AM

if you tried android with unity 5+ you will know the real suffer top frame rate 50fps with low shadow ,low texture and no particles "not mentioning how shaders can make you get 10 fps" it's really poor performance

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 Whiteleaf · Jul 08, 2016 at 04:58 PM 0
Share

I haven't used Unity on Android or iOS, if I do though I plan to use U4 as like you said, the performance is poor I guess. There's a lot of threads I've read about the bad performance on Android in U5.

avatar image
0

Answer by Beloudest · Jul 08, 2016 at 08:53 AM

Latest Beta 5.3.4 I believe seemed to be an improvement.

Comment
Add comment · Show 3 · 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 Whiteleaf · Jul 08, 2016 at 04:57 PM 0
Share

I'll look into it, thanks.

avatar image Whiteleaf · Jul 14, 2016 at 07:14 PM 0
Share

I downloaded the 5.4 beta as the version you mentioned didn't do much, but in 5.4 from what I can see the performance has increased a ton.

avatar image Mario200 Whiteleaf · Aug 02, 2016 at 07:29 PM 0
Share

Uhh has increases a ton? Where, it's still terrible to me. I have a game and when i export it from Unity 5.2.3 it runs 60 frames on my Lumia 535. When i export it from Unity 5.4 the frame rate is around 20! This is hopeless and i really need to work with the new version of Unity.

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

96 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

Related Questions

Updating Unity Caused Severe Drop in FPS 1 Answer

How Can I Reduce Build Time for Script-Heavy Projects? 2 Answers

How to optimize with a lot of objects 0 Answers

A very simple optimization question, particle 1 Answer

Double Buffer and/or Mesh.MarkDynamic in Unity 5 0 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