Which Unity is Fastest? (Results Inside!)

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ • 88

  • @TheArghnono
    @TheArghnono 5 місяців тому +56

    Yes, I think editor performance should be a priority for Unity going forward. It's pretty ridiculous.

  • @geri4367
    @geri4367 5 місяців тому +11

    The new version notes always say X% editor speed up. Yet, compiling and entering playmode feels slower than ever

  • @Mrversatility1
    @Mrversatility1 5 місяців тому +14

    Crazy this came up. My project recently got super slow and I was going back through commits to see what code change I made that made Domain Reloading go from 1-2 seconds to 1 minute for a single line code change. Apparently I got sloppy with serializing a lot of properties on my data model classes and some of them had circular references, so once I went in and started reducing what I needed to actually serialize I got my speed back. But man those 1 min reload times were unbearable.

    • @Unity3dCollege
      @Unity3dCollege  5 місяців тому +2

      @Mrversatility1 i wonder how often it's situations like this people are running into. I'm always afraid to do anything tricky in ionvalidate nowdays (because ove run into similar issues before)

  • @joeymaher5193
    @joeymaher5193 5 місяців тому +15

    Would have loved to also see opening an already created project (i.e. subsequent loads of your first case). Fascinating to see 2020 is so good, I think that more or less matches my guess based on feeling having used them all.

  • @PontusWittenmark
    @PontusWittenmark 5 місяців тому +6

    The one important benchmark to me is the "change on line of code and then play the game" one 💯

  • @Immudelki
    @Immudelki 15 днів тому

    Super cool comparison, kudos for the hard work on putting this out :)
    Important to point out though, that disabling window defender on project files helps a lot.

  • @damvcoool
    @damvcoool 5 місяців тому +7

    I think there are 2 aspects to performance on a game engine like unity.
    1. Performance of the editor, like importing assets, opening big projects, compiling shades, going into play mode with a simple and complex demo.. Etc
    2. Performance of the runtime/player it would be interesting to see the same project compiled in different versions overtime, and see how they have improved the runtime.
    Because if the performance of the runtime has decreased and become worst over time then why are they even charging for it if it's not to improve it?

  • @fokeyjo
    @fokeyjo 5 місяців тому +1

    I like the way you laid out the results, well made video ☺

  • @johnleorid
    @johnleorid 5 місяців тому +7

    Please make more such tests, including switching scenes, opening a non-empty project (min. 20GB of assets and 200+ scripts, 10+ packages installed, such as new input system, cinemachine, ..), recompile/reload time in a non-empty project, enter play mode time (with fast play mode options enabled, if available in the version) and maybe .. build times (building .exe).

    • @zORg_alex
      @zORg_alex 5 місяців тому

      And how will you compare that? What project is compatible with all Unity versions with so many API changes. Meet verisions would need to fix those issues giving old ones a boost or yours need to do a silly amount of ifdef operators.

    • @johnleorid
      @johnleorid 5 місяців тому

      ​@@zORg_alex Quite some assets are compatible with a wide variety of unity-versions. And those assets contain scripts. So one would have to find and download such assets, plus some 3D / Texture assets to boost the file size, add the packages and that's the project.
      No custom code or anythings, just setup & testing.

  • @MantridJones
    @MantridJones 5 місяців тому +8

    How often do you import huge packages or even open the Editor? Once a day? What really matters is how long does it take after you changed one line of code in your script (and saved it), until you can finally use the Editor again.

    • @shauas4224
      @shauas4224 5 місяців тому +1

      Yeah it's ridiculous, I would say when I'm constantly tweaking code, around half of my time is spent waiting for damn reloading.

  • @birthdaycereal
    @birthdaycereal 5 місяців тому +1

    Script compile comparison would be great! Very informative vid.

  • @fmproductions913
    @fmproductions913 5 місяців тому +1

    That was really interesting, didn't expect Unity 2020 to be on the front. I think for many people it's also important how fast the recompilation time is after code changes, or iteration time between making a change and entering playmode.
    I read in the forums that apparently compilation time in older Unity versions for small projects is faster because those versions just have less code to deal with, but that newer versions scale better once the project gets big.
    Not sure if this is true. In terms of iteration speed though, aside from disabling domain reloading (which isn't a problem if you're mindful of how you handle your static state) I was told that it is also really helpful to make your frequent changes in really small scenes for testing and later integrate that in your big/actual scenes, so when you enter play mode, Unity needs to copy less components/state. While you could also disable Scene Reloading in the Configurable Enter Play Mode settings, that one has side effects that are more difficult to handle.
    And lastly, for faster recompilation speeds, Assembly Definitions are also worth considering.

  • @stasdev
    @stasdev 5 місяців тому +2

    i’ve tried Unity3 a few months ago just for fun (my first unity version was 5)
    The game compiled before I got to switch the tab to the editor after saving the script and I was surprised that most of the features were present. Shaders, scriptable objects, networking, you pretty much get a minimalist instant-compiling engine. But I still could make a fully fledged mmorpg in it. The project boot time was a few seconds btw. Loved the vibes that I got using it

  • @verendale1789
    @verendale1789 2 місяці тому

    I didn't think it's a huge deal until I saw Unreal Engine 5 create and open a fresh project in under 60 seconds on my laptop (Unity 6 took like 3 minutes on the same specs).

  • @Rodrigo.Aliaga
    @Rodrigo.Aliaga 5 місяців тому +12

    I have 5.6, 2019, 2021, 2022 and 6 on my desktop, and by far, 5.6 is the fastest... not only opening, but compiling and entering play mode.

    • @cyberdrizzt
      @cyberdrizzt 5 місяців тому

      Aye I'm finishing up a project in 5.6 and compared to any other version it's the smoothest to work with.

    • @SnakeEngine
      @SnakeEngine 5 місяців тому

      Yeah, may be faster compiling, but probably worse runtime performance.

  • @manuelrodriguezmatesanz7706
    @manuelrodriguezmatesanz7706 5 місяців тому +4

    On my end 2019.2 with the v1 database is by far the fastest (running on a high end pc). Then it’s quite good up to 2020.1.17f1. There’s a huge regression until 2021.3.6f1. 2022+ loading times are huge due to domain reload. It’s an absolute pain in the ass…

  • @olejorgensen1964
    @olejorgensen1964 4 місяці тому +2

    I have had similar loading times as you describe here.
    I got it down under 30 sec from well over 3 min by excluding the project folder and the editor from Windows Defender.
    (Using Unity 2022 3.44.f1)

  • @amirrezamahdian3923
    @amirrezamahdian3923 3 місяці тому +1

    i've been using unity 5.6 from 2019 and for me it is the fastest and works best.

  • @SnakeEngine
    @SnakeEngine 5 місяців тому

    I think it is more important to have quick iteration times once everything is loaded, so a lost minute can be tolerated per working session. Personally, most important thing is that the final runtime performance of the game isn't getting slower.

  • @TheXentios
    @TheXentios 5 місяців тому +3

    What about compile times?

  • @Schaeferyn
    @Schaeferyn 5 місяців тому

    This is a fantastic test and I'd love to see something similar (if it doesn't already exist) with the performance of a small build of a test scene with each version.

  • @CaptainDampe
    @CaptainDampe 5 місяців тому

    For me and some others I know, Unity 5 just refuses to open through the hub, so we have to open it the old school way. Hope that helps if you decide to do more of these.

  • @ratt44
    @ratt44 5 місяців тому +3

    I prefer C# and it's better supported in Unity but I still went with Godot because while testing both over a week, I've saved SO MUCH time and frustration while iterating and the other differences were nowhere near as impactful (2D game) as Godot being super fast and Unity just being ridiculously slow.

  • @unitydev457
    @unitydev457 5 місяців тому +3

    There have been tons of improvements and great features added but unity 4.x ran editor ran so much faster for me in general than modern unity

  • @Equisdeification
    @Equisdeification 5 місяців тому +2

    This is the reason why I don't use Unity anymore, I cannot tolerate these loading times, to me it feels boring to iterate specially with the recompiling times

    • @GoodNewsJim
      @GoodNewsJim 5 місяців тому +1

      Get a m2 drive. Must have

  • @dbweb.creative
    @dbweb.creative 5 місяців тому

    Recently I realized that for game performance it might be a good idea to bind fields in inspector where possible, rather than doing it in Awake with GetComponent. Haven't profiled this, but in theory should bring better initialization of game and objects. What's your opinion?

  • @sadravin1
    @sadravin1 5 місяців тому

    The issue I keep seeing is with 2018 and 2019 and I think 2020. Also had this issue where everything runs nice and fine for a long period of time but once your project gets to a certain size just going into test mode takes longer and longer and longer. To the point where it hangs.

  • @cyberdrizzt
    @cyberdrizzt 5 місяців тому +1

    I can see why you left out 5.6 it's massively faster loading than any version after

  • @johnolsson2923
    @johnolsson2923 5 місяців тому

    To judge performance only on these two tests does not say much about overall performance. Compile time and overall editor performance is much more important for example. You start the editor maybe once per day.

  • @bsdrago
    @bsdrago 5 місяців тому +1

    Which Unity (EDITOR) is Fastest? I think is the best title..... =)

  • @BravoPhantom
    @BravoPhantom 5 місяців тому +1

    Project making doesn't matter; the most and the only important thing is compiling all assets after changing code and importing assets. Unity 2022 is pretty damn slow in that; I love 2020 as it is the fastest; need to check Unity 6 when it's released 👍

  • @SlippyFrog00
    @SlippyFrog00 2 місяці тому

    The required bench marks are Compiling, and entering play mode.

  • @random_precision_software
    @random_precision_software 5 місяців тому

    I've noticed this for years, I load OLD projects in unity 5.6 and it loads in,in seconds

  • @amac333
    @amac333 5 місяців тому

    good gawd, yes this should be permanently on the top 5 things to triple check before rolling out any update to the Engine. Consider the compile times added up throughout the year, then multiply that by the userbase. Rough estimate would be 68.75hours/year just compiling, per user.

  • @beardordie5308
    @beardordie5308 5 місяців тому

    Now that I use Hot Reload, I can iterate while avoiding many recompilation delays. But there are just way too many blocking windows when there is a reload that doesn't actually need to block the editor entirely. Preventing me from configuring the scene in ways that have nothing to do with the compilation step is not a good user experience.

  • @alexleonardkrea
    @alexleonardkrea 5 місяців тому

    Very cool video!

  • @BorisNovikov1989
    @BorisNovikov1989 5 місяців тому

    It is better to rule out unstable web requests time from package manager, authorization, etc.! I noticed a big improvement in startup time when I disconnected from wifi (knowing the package cache was up to date)

  • @krishnansubramoni7801
    @krishnansubramoni7801 5 місяців тому

    Now this is actually useful data. With so many versions, and now with 3 pipelines (built-in, URP, HDRP), I really want to know which can save me time. Also, yes editor performance is highest priority especially since the Unity editor - at least for me, on big projects, very frequently runs into issues, memory overflows/leaks, errors, unresponsiveness, and just outright crashes.

  • @andersmalmgren6528
    @andersmalmgren6528 4 місяці тому

    I think runtime performance is always more important. But offcourse quality of life for devs are important too.

  • @teh1archon
    @teh1archon 5 місяців тому

    2022, probably the most used version right now is the slowest. I'm not surprised and won't be surprised if if will ever be revealed to be so by design.

  • @Emptrix
    @Emptrix 5 місяців тому +1

    Thanks for this experiment, could you share the specs of your hardware that Unity is running on? And are both the projects and Unity Editor on the same drive?

    • @Unity3dCollege
      @Unity3dCollege  5 місяців тому +3

      I9, 128gb, 4tb 990ssd. Fresh reboot with just 1 unity instance running at a time and camtasia to record the clips. All projects were default empty ones in the same c:/projects folder (then later with the asset pack added)

  • @saeedbarari2207
    @saeedbarari2207 5 місяців тому +1

    definitely IMPORTANT in capital letters. It's your time as well as your employer's time that's being wasted. But is this a fair comparison? did you enable the parallel import option? did the different versions had *focus* when they were loading? I know Windows treats apps differently depending on their focus. Because I remember Unity 2022 and Unity 6 had a lot of importing improvement promises

  • @marcoseliasmep
    @marcoseliasmep 5 місяців тому

    They should improve Unity Hub as well. Just a list of projects gets slow to load due to licensing checks.

  • @beardordie5308
    @beardordie5308 5 місяців тому

    After I make a build, I have to click back to Unity which kicks off yet another reload. Why not immediately trigger that reload when the build is completed? Just another avoidable long wait.

  • @Paul-zh2jp
    @Paul-zh2jp 5 місяців тому

    the main thing that made me switch from unity to godot was actually the speed. everything happens in a few seconds, including opening and building. not to mention you can make code changes while the game is running. dev experience is a big deal!

  • @davide78d
    @davide78d 5 місяців тому

    I stopped the development of my 99% complete video game because the executable runs great on Mac but slows down incredibly when starting on Windows. I spent 2 years trying to solve the problem and in the end I gave up, it doesn't report any bugs to me. in the editor it runs smoothly but the steam build on windows loads terribly slowly and tends to crash while on mac it runs fine.
    How do you define an engine that presents these anomalies as multi-platform? I tried all possible settings but nothing

  • @SoloRush-hl8jv
    @SoloRush-hl8jv 12 днів тому

    did u enabled parallel import option in unity 6 and other optimizations

  • @PlanetXGameStudios
    @PlanetXGameStudios Місяць тому

    If they stopped development on other new feature, called it Unity 7 and just fixed compile times, I'd pay that 2% to 4% to use it like jason storey mentioned in the previous video. I don't think anything else takes precedence.

  • @JustFor-dq5wc
    @JustFor-dq5wc 4 місяці тому

    Importing or starting is just one time. Compiling time is more important for me.

  • @Dimi_Kape
    @Dimi_Kape 5 місяців тому

    Although it is a crazy how long we have to wait now for package loading, i think it is important to also look at rendering/computing performance (fps difference) inside unity. from my experience 2022.3 is about 10% faster than 2021.3. At least that was the case for my project. + the forward+ renderer is a welcome adittion in 2022. would a video that compares that performance on a heavy scene.

  • @jakes_97
    @jakes_97 5 місяців тому

    Not only unity 2020 is the fastest, its the most reliable. I use old android devices to test my game and how they perform. When i upgraded my unity version to 2021, the game instantly crashes. Same project, nothing changed. After searching the issue, the recommended option was to disable "enable frame pacing". Although the game did not crash on launch, the fps took a massive hit. Upgraded again to 2022, same issue. I thought I messed up the game project and started to reconsider finishing the game. Reverted back to 2020, everything worked fine.

  • @gorkemvids4839
    @gorkemvids4839 4 місяці тому

    Btw did you just wait to click confirm to 2017's question?

  • @BlazertronGames
    @BlazertronGames 3 місяці тому

    Load times and editor performance are one of the reasons I prefer godot to unity. I hope they fix it one day. I hate when companies focus forward too much. They should look back and fix the core problems rather than focusing on new fancy features. It sucks when companies have so much money but focus on the wrong things.

  • @meowkarolita
    @meowkarolita 23 дні тому

    0:39 2023 lts is my gess

  • @darkabacus247
    @darkabacus247 5 місяців тому

    If I could dev a game in the time lost from waiting on unity... I'd have at least 1 game finished.

  • @UTTheLaw
    @UTTheLaw 5 місяців тому +3

    Interesting! I thought Unity 6 woulda been the fastest. It seems pretty darn fast to me!

  • @Eculeus007
    @Eculeus007 5 місяців тому

    How much time does your project need to get into runtime mode? I'm definitely the slowest at 140 seconds.

  • @shirosurfer8864
    @shirosurfer8864 11 днів тому

    And adding code and more assets its just multiplicative
    If i can get android compiler to work on 2020 thatd be so great

  • @NullRefGameDev
    @NullRefGameDev 5 місяців тому

    2018 is fastest for me,also the anoying bar for compilation is not there which was great.
    workflow in unity is slow, and its one of reasons why I'm thinking of switching to Godot

  • @yudnai5577
    @yudnai5577 5 місяців тому

    yes . when you have an IDEA and because of the lag you lose it. I say it is crucial. the early time of Unity was like godot very fast because there were not many libraries to load to memory. the issue is if I can create what I need fast I don't care about all the new stuff.

  • @vrfxrealtime
    @vrfxrealtime 5 місяців тому

    looks pretty random, i never cared about these time only on how stable the editor runns. and they all run stable.

  • @impheris
    @impheris 5 місяців тому

    i would say 2019 is the fastest... btw that is an old discussion on the forum
    1:15 am i missing something? 2018 is clearly the fastest on that test but you said 2020... ?
    4:00 i can see you didn't wait in unity 6 but you waited on 2021... again am i missing something?
    I thing these tests are unaccurate imo

  • @random_precision_software
    @random_precision_software 5 місяців тому

    What happened to 2023?
    Jason I thought you were going neck to tutorials m8?

  • @playersAvatar
    @playersAvatar 5 місяців тому

    I couldnt find your specs clicking through the video, did I miss something? Pretty pointless without your specs.

    • @Unity3dCollege
      @Unity3dCollege  5 місяців тому +1

      @playersAvatar thought I mentioned in the video, but it's a newer i9, 128g ram and a Samsung 990

    • @playersAvatar
      @playersAvatar 5 місяців тому

      @@Unity3dCollege I only clicked through, as mentioned. But it's weird, my loading times are way faster than yours. And my machine is a bit slower than yours (i9 12900K, Samsung 980, ...)

  • @mariokartgameplay6622
    @mariokartgameplay6622 5 місяців тому

    The Unity Performance is for me not so important. The performance of the games we develop, in other words the outcome is the most important thing.

  • @rickloyd8208
    @rickloyd8208 5 місяців тому

    Yap, I am still on 2020 until I will not be forced to upgrade, like they did with 2018

  • @gorkemvids4839
    @gorkemvids4839 5 місяців тому

    Aright! im returning to 2020 untill something force me out of that...

  • @morphidevtalk
    @morphidevtalk 5 місяців тому

    i think 2019 or 2020

  • @AppMaker728
    @AppMaker728 5 місяців тому +1

    im not using unity anymore dude they update too much that shows you unity not a perfect game engine the update every week its annoying unreal and Godot don't update every fkn week less annoying

    • @umapessoa6051
      @umapessoa6051 5 місяців тому

      You're not forced to update 😅

  • @hiperfx892
    @hiperfx892 5 місяців тому

    Unity 6 is faster than both 2021 and 2022 LTS, 2020 LTS is also fast

  • @tzebruh
    @tzebruh 4 місяці тому

    Unreal is gonna be faster than Unity

  • @shirosurfer8864
    @shirosurfer8864 11 днів тому

    This is a sin