Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 5 is too slow??????

Discussion in 'Editor & General Support' started by herman111, Mar 23, 2015.

  1. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    why is a simple floor and a character controller only pushing out 2 to 5 FPS when playing on my PC...where as Unity 4.6 with the same setup pushes out 45 FPS....BTW I am using the 32bit editor...that shouldn't mean much with such a simple scene
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,171
    You haven't given a lot of detail, but my guess is that you have dual graphics (intel + nvidia?), and it's not switching.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    A simple floor and a character controller would get hundreds of fps on an old PC with a GMA 950, in any version of Unity.

    --Eric
     
  4. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,171
    He doesn't specify what pc is using, and you're not taking into account that the editor has overhead as well. Others have been complaining of slowdowns with dual gfx:

    http://forum.unity3d.com/threads/no-nvidia-optimus-support.304533/

    But, that was just a guess. It's also possible that the newer U5 doesn't like the graphics driver either.
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Going by the description of "a simple floor and a character controller", there's no reason even a barely-capable PC wouldn't run it extremely well. But that's all the detail we have.

    --Eric
     
  6. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    just a dell laptop with 4gigs and intel graphics
    as I said everything runs faster with 4.6...5.0 is just slower for some reason
    the floor has just a simple texture
     
    Last edited: Mar 24, 2015
  7. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Use the Profiler to find out whats going on.
     
  8. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    I did use it....had 7 drawcalls for physics and 4 for audio...funny thing no audio or physics used
     
  9. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Physics and audio are not things that have draw calls. Those are for graphics only.

    --Eric
     
  10. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    then I give up on 5.0
     
  11. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Maybe you could look at the profiler again and see what it's actually saying. It definitely is not saying that physics and audio have draw calls, I can tell you that much.

    --Eric
     
  12. laurelhach

    laurelhach

    Joined:
    Dec 1, 2013
    Posts:
    229
    Do you use the default shader or the legacy shader from 4.6?
    I experience the same issue where with Unity 5.0 my fps is reduced by at least half (if not 2/3), and this is happening when my scene uses the default shader from Unity 5.

    You shouldn't really have a super slow fps like Eric says though if you only have a simple scene ... BUT I also have a dell laptop with an intel video card (+ i5) and running my project on it is a pure nightmare as everything slows down (switching scene, moving around, etc.) even the compilation time. (like I said in a different thread).

    Try to use a mobile shader (or a simple legacy one) for all your assets and see if you have any difference.

    If you ever find a solution, please let me know!
     
  13. herman111

    herman111

    Joined:
    May 11, 2014
    Posts:
    119
    using default shader,will try something else..........Eric, I swear I seen the Physics and Audio on the profiler...will try to get a screen shot
     
  14. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,593
    Unity5 runs my game much slower in the editor than Unity4 did, I cant pin point why, I have spent days in the profiler too. My only solution is a new pc (mine has a 2010 cpu, 45 nm). Funny thing is a standalone build runs CRAZY fast, like 95fps... but in editor Im lucky to see 25fps and it feels like 10fps, reminds me of playing Quake Amiga on my 68060 :)
     
  15. Mishaps

    Mishaps

    Joined:
    Nov 28, 2011
    Posts:
    181
    Try maximising the game view panel in the editor when you press play. It will probably get a good framerate then.

    In 4.x we had a similar problem when having a character selected while the editor was playing. It would drop the framerate a lot. We just put it down to the UI in the inspector panel updating all the rotation/translation like crazy and using up all the CPU resources. Perhaps this is a similar problem with 5.x but occurring even when nothing is selected?
     
  16. laurelhach

    laurelhach

    Joined:
    Dec 1, 2013
    Posts:
    229
    This is true. If you don't do that you'll get even worse fps.

    I was hoping to get some answers that could solve the problem :) but it doesn't like there is a solution. This is normal that when you switch engine version you need more "horse power" under the hood, but I was not expecting that many differences between the two. Even on my desktop computer, I have some lags when I minimize Unity5. So I guess there are hidden issues with performances, but it is much better than on my laptop.

    Anyway, there are patches and updates coming out regularly, so I'll try them and see if that improve the overall performances.

    Thanks.
     
  17. Recluse

    Recluse

    Joined:
    May 16, 2010
    Posts:
    485
    I'm running the same project on OSX and Win 8 Pro... In Windows, Unity5 Editor playback becomes jerky after a couple of minutes, and the only way to get the performance back to normal is to restart Unity. Looking at the memory and CPU load in task manager, Unity is not even making the PC break into a sweat, so what's going on?

    The same project runs smoothly on Macbook Pro.
     
    Last edited: Apr 9, 2015