Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Other Unity is so painful to use, its so slow.

Discussion in '2023.2 Beta' started by SpookyCat, Jul 19, 2023.

  1. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,778
    It may be just me but these days Unity is so horrible to use, for example to create a new script you are forced to wait 10 seconds while Unity reloads, compiles, reimports assets, repaints then you can use Unity again, it never used to be like this, create a script rename it, instant ready to go. After that it gets worse, switch to Visual Studio another 10+ seconds while that sorts itself out, change one line, switch back to Unity, and another 15 seconds plus goes by while it reloads, recompiles, repaints, reimports assets then you can see the change you made, it never used to be like this, you could make a change in VS and by the time you tabbed back to Unity everything was done, less than a second, and this is with a small project, it really feels horrible to use Unity these days, the editor and delays just get in the way so badly of the creative process.
    Please say something is going to be done about this, and dont say get Fast Reload or Hot Reload as they just don't work reliably in a big project and add more issues than they solve.
     
  2. TomTheMan59

    TomTheMan59

    Joined:
    Mar 8, 2021
    Posts:
    356
  3. LooperVFX

    LooperVFX

    Joined:
    Dec 3, 2018
    Posts:
    181
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,421
    Not just you. It's been measured. 2017 is 2x faster than 2020 which is 1.2x faster than 2023 in domain reload + compile time (at least it's being curbed). Also the editor is increasingly sluggish and that has not being measured. Someone should measure that with video capture comparison. Not me, I've gotten a 3090 already :D.
    1. Domain reload slowdowns: Addressed by @xoofx. Summary: A lot of the editor functionalities are moved from c++ to c# modules. So domain reload needs to also do them. Which is a lot. Lot of optimization has been done but is being undone by the rapid addition of new modules. They won't spend resource fixing domain reload because the new Core C# thing has no reload so that problem will be gone. IMO it's valid but ETA unknown.
    2. Compile time: when the compiler hits Burst code, LLVM kicks in, muuuuuuch slower than pure dotnet. If you use ECS, it's even slower due to all the scaffolding. And if you use ECS lambdas then you're giving the compiler a lot more work to unravel. You've hit mount Everest of slow compile. IMO, nothing can be done that is not being done.
    3. Finally, the editor being sluggish is a problem that IMO has no valid reason. Example: the search window is now laggy when it used to be instant. Why? Anyway some are logged, log the rest. I personally don't think it'll ever get fixed because people get used to bad.
    On the bright side, after a week in 2023, I started working in Unreal 5.3 and boy does it feel nimble!
     
    Frais254, Mxill, VoidOB and 7 others like this.
  5. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,127
    Shouldn't assembly definitions almost remove the C# modules' domain reload times?
    Or am I misinterpreting what they do exactly?
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,958
    Mac crashes every 5 minutes if you have editor multithreaded rendering enabled.

    People have been complaining about the editor getting slower year over year, Unity keeps posting blog posts in the last 5 years that promise improvements and course correction, then the people supposed to work on improving the editor experience get fired / leave the company.

    It's just gonna get worse. They have a ton of momentum in things getting worse, and even efforts to improve things instead just slow down the worsening a bit. I feel like they've been banking on DOTS / ECS, and in the meantime have left everything else to decay and rot, and even if we consider ECS to be amazing, IMO it really doesn't make up for the state of the rest of their feature set and user experience.

    Start making back up plans people, and I'm saying that to myself as well.
     
    m0guz, t-ley, Rennan24 and 7 others like this.
  7. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    802
    No, it should speed up compiling, domain reload stays the same

    Burst does not compile during C# compilation, and should not affect C# compilation time. (At least that's how I understand it. )
     
    Ruslank100 and DevDunk like this.
  8. septN

    septN

    Joined:
    Oct 29, 2015
    Posts:
    53
    As someone who has been using Unity since 2015, I definitely feel you. Unity is getting more and more unnecessarily cumbersome to use.
     
    Ruslank100 and Unifikation like this.
  9. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    Please, fix slowdowns in 2023.2 beta and restore fast script compilation and editor responsiveness back to 2017 speeds or even faster.
     
    Ruslank100 and Unifikation like this.
  10. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,448
    It's less DOTS that they're banking on and more the scripting overhaul, and until that's complete I wouldn't expect to see any improvements beyond low hanging fruit like the fix when working with many (ie hundreds to thousands) of asmdefs.
     
    AcidArrow likes this.
  11. AnonnyMoose

    AnonnyMoose

    Joined:
    Nov 28, 2014
    Posts:
    30
    Its not just the 2023 versions, I am getting this bad in the 2022 LTS versions!

    Unity you need to get this fixed, its ridiculous how slow things are with domain reloads all the damn time.

    2022.3.5f1 - Windows 10.
     
  12. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,778
    Domain reloads, Rpaints that take forever, random reimporting of files, it is utterly awful to use at the moment, dev times have gone through the roof from the couple of seconds between a line change in a script file to 30s+ how can it be that bad.

    It would be nice for someone rfom Unity to perhaps post and hoepfully say that is something they are looking at or fixing. Or at least an explanation as to why we have to wait like this when we never had to before, what did they add that justifies such long itertation times, or is there anything we can do to reduce it.
     
  13. Slashbot64

    Slashbot64

    Joined:
    Jun 15, 2020
    Posts:
    341
    I like the 1min long wait I had just to open the package manager... caching ever heard of it Unity? do I really need to have the package list downloaded in bits everytime I go to use it.. same with images for packages... it's all just a bit lame what is going on with so many areas of Unity development really.. oversights, after thoughts... think there is just too many things going wrong
     
  14. TheRobWatling

    TheRobWatling

    Joined:
    Feb 18, 2013
    Posts:
    49
    There is a very long thread here that covers the issues with Domain Reloading and increased time that it takes to do anything in Unity - https://forum.unity.com/threads/imp...c-script-changes.1184446/page-13#post-9185264

    TL : DR there's a lot of issues and the .NET Update is one of the primary factors in improving this.
     
    Shizola likes this.
  15. Freakish

    Freakish

    Joined:
    Jun 3, 2015
    Posts:
    84
    In terms of the 2023.2 Alpha and Betas they suffer badly with editor performance. It's very noticeable for example when an object has large amount of items to scroll like Blendshapes. Trying to scroll down the list is so slow, I can hear my CPU fans increase, but it's almost unusable to select items and scroll. It's so much worse than previous versions I don't know what they've changed, but it hasn't improved much over the Alpha/Beta cycle.
     
  16. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,535
    A lot of UI that used to render native on the OS is now unity internal, and for some reason thats not making it faster.
     
    Unifikation and AcidArrow like this.
  17. Freakish

    Freakish

    Joined:
    Jun 3, 2015
    Posts:
    84
    Thanks.

    Yeah, I could tell they've been making some changes under the hood with 2023.2, but it makes me nervous when we are this far along in a beta series, and I'm not seeing the performance improve along the way. If an object has a lot of materials for example, just trying to select them becomes a huge problems. Blendshapes, Materials and Playing Animations in the preview window is painful compared to previous versions.

    You just never know if Unity devs are aware of these things, we have threads like these where by people take the time to give feedback, and usually go ignored and a bunch of Beta versions where by I haven't noticed any real improvement from early Alphas.

    I just hope we see some improvements by the end of the cycle.

    Cheers.
     
    WhatRU and t-ley like this.
  18. t-ley

    t-ley

    Joined:
    Mar 6, 2017
    Posts:
    77
    Unity puts stuff in takes it out puts it back in how can a person make a game run when assets seem to break projects, dragging in a scene to another scene, copying and pasting, downloading assets crash the computer, this might detour a lot of people away but might be better for the ones who are willing to fight with the unity engine yes I think it’s getting way harder to even get something going
     
  19. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    Is there any significant improvement in 2023.3 Alpha ?
     
  20. Crystalline

    Crystalline

    Joined:
    Sep 11, 2013
    Posts:
    176
    True.Unity sucks more over time and its a shame. Instead of getting better , it gets worse.
     
  21. marcoantap

    marcoantap

    Joined:
    Sep 23, 2012
    Posts:
    246
    Try Ubuntu, it takes Unity 2022 just a few seconds to compile while another machine I have with Windows 11 takes a minute or more on the same project. Both have SSDs, the Win11 machine is more powerful but Ubuntu is a rocket.
     
    Last edited: Sep 25, 2023
  22. Slashbot64

    Slashbot64

    Joined:
    Jun 15, 2020
    Posts:
    341
    check you don't have microsucks useless antivirus running
     
  23. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    What should Microsoft change in OS to Unity be faster in compilation as Ubuntu? Especially for HDRP.
     
  24. Pablomon

    Pablomon

    Joined:
    Mar 9, 2015
    Posts:
    48
    Just to add to the rant, 5 years ago I bought a new core i7 10750h laptop because the one I had was painful to use with unity even for small projects.
    I still use the same laptop. It can do CAD, coding, play some AAA games, databases... but I feel I am in the exact same situation as 5 years ago.
    The laptop keeps working great.
    The projects keep being small.
    Unity get your S*** together!.
     
  25. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    6,416
    I've been leaving editor usage notes elsewhere, but apparently I missed this thread thus far. :D

    Whether a given Unity version is really that much slower can only be compared when measuring the existing project in the older version, then upgrading to a newer version. All other "measurements" are bogus, quite simply very subjective and likely skewed if only because 2020 started shoving a progress bar in our faces (psychological effect leading to many thinking that 2019 is still the fastest).

    I've done my tests with two 2017 projects (one actual, one artificial) and upgrading them all the way from 2017 to 2023. Domain reload was slowest with 2019, from then on its been gradually improving, and 2023 cut the time almost in half. Within a <10% margin both projects showed the same effect.

    The other thing is: all the content in a project matters. 5 years ago I bet most projects were much lighter than today's, naturally. And then there's the issue of terribly inefficient, if not broken editor scripts. If you have to wait 10+ seconds for a single script change to compile, something is fishy => Profile!

    Of course, individual issues and regressions exist. But when something is blocking me this badly, the first thing is to figure out why and whether there can be anything done about it right there. In my experience, nine out of ten times it's an editor script.
     
  26. Pablomon

    Pablomon

    Joined:
    Mar 9, 2015
    Posts:
    48
    This could be completely subjective, you might be right. I will post back when I get around to doing the tests you suggested.
    Actually I think it would be interesting to make an standardized test. Sort of a Unity Geekbech..
     
  27. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,958
    Nah, it's not subjective. Whether it is a reasonable trade off for whatever features we got (IMO it isn't) is another matter, but certain aspects are clearly much slower in recent Unity vs, say, Unity 4, that is not up for debate.
     
  28. Pablomon

    Pablomon

    Joined:
    Mar 9, 2015
    Posts:
    48
    I did some "quick" benchmark since it's true that this things can be very subjective.
    New project, bare minimum. Just one script to log times, another to make changes to.
    No autorefresh so It does nothing in the background.
    Changing "Debug.Log("Is unity getting slow?") and refreshing assets.
    I took 3 measures and averaged.

    2018.4.36 -> 2.4s
    2020.3.48 -> 3.6s
    2021.3.36 -> 4.6s
    2022.3.20 -> 4.4s

    This is what I got.
    Sadly I don't have a medium sized project that that spans below 2021 I can bench right now.


    pd. i7 10750h 16gb ram
     
    Last edited: Mar 22, 2024
    Ksanone likes this.