• MurrayL@lemmy.world
    link
    fedilink
    English
    arrow-up
    73
    ·
    2 days ago

    Unity, including Unity Hub and related components, required roughly 21GB of storage, while Godot Engine needed only around 164MB

    It really is astounding how bloated Unity has become over the last decade. It was never a lightweight engine, but 20GB+ just to install the editor is nuts.

  • copygirl@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    46
    arrow-down
    1
    ·
    2 days ago

    In Grové’s tests, Unity took 15.4 seconds to compile scripts, while Godot Engine took just 0.31 seconds, which is a significant gap. This is likely due to Unity’s standard use of the compiled language C#, whereas Godot uses its interpreted in-house language GDScript, allowing for much faster iteration times.

    Both C# and GDScript are (typically) compiled to bytecode, so they are probably more similar than they are different when it comes to the compilation step. (C# does get compiled to native machine code by the .NET runtime, the GDScript bytecode is likely still running in an optimized interpreter.) There is no excuse why Unity should be taking that long to compile its scripts. Certainly that’s not a failure of the language used.

    • Quetzalcutlass@lemmy.world
      link
      fedilink
      English
      arrow-up
      31
      ·
      2 days ago

      I’m guessing it’s due to Unity firing up a full modern toolchain during compilation versus GDScript’s simpler bespoke compiler.

      It would have been a better comparison if he’d used C# for both games, given Godot supports it as an alternate to GDScript.

      • copygirl@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        1 day ago

        Unity firing up a full modern toolchain

        It’s funny you say that because Unity’s C# tooling is soooo many years behind. They’re still using Mono. (Godot also used it in the past.) And apparently only some time this year (end of 2026?) will they have proper modern C# with all its performance benefits.

        edit: Actually I just found this in a related article (unsure about whether it’s slop or not) but apparently the horrible compile times is from something called “Domain Reload” and is caused exactly by that ancient tooling being used.

      • TheFogan@programming.dev
        link
        fedilink
        English
        arrow-up
        11
        ·
        2 days ago

        I mean you can go both ways. If godot fell behind then it would be argued that it’s not it’s primary language. IE I’m not a huge expert on how the languages work. but I’d imagine godot would be less efficiant when using the languages that it supports, but wasn’t built for.

        That’s like competing in a reading contest with your second language, versus an opponent who only speaks the language.

        • Quetzalcutlass@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          ·
          2 days ago

          C# has faster execution speed compared to GDScript, but Godot needs to marshal data when communicating between the core engine and the C# runtime, which can negatively affect performance if you don’t keep it in mind when writing your code.

          But ultimately I’d argue compilation speed is waaay more important than execution speed when it comes to creating games (which require rapid iteration and testing). There’s only a small amount of code in a codebase where squeezing out the maximum performance is required, and those important bottlenecks can be refactored or rewritten in a more performant language if needed.

      • UnrepentantAlgebra@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        To be fair, the hub isn’t part of the Unity engine or editor. It just downloads and manages versions of the editor and lists your projects, which you can then open in the editor. There’s no real need for the hub to use 512 MB (not that it’s even that much memory).

  • RightHandOfIkaros@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    5
    ·
    2 days ago

    I can’t help but feel like this article is biased in favor of Godot. Looking at the screenshots, its pretty clear that the Godot build appears to have post-processing effects applied to it while the Unity one appears to not have the same effects applied to it, or they are not tuned to the same values.

    A person who is good at using a game engine can make a game look graphically almost identical when made in any other engine.

    • AwesomeLowlander@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      1 day ago

      Grové concluded that both engines were fully capable of creating the kind of game he wanted to make. When comparing framerates, he noted that although his target was 60fps, both engines achieved framerates several times higher than that. Even accounting for future graphical improvements, he believes both still have plenty of performance headroom.

      It’s not like he was knocking the performance or graphics, and the points on which Godot won were objective measurements

      • RightHandOfIkaros@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 day ago

        I am simply pointing out that those screenshots skew the appearance of the article and make it appear to be biased in favor of Godot. I would imagine that people should want a fair and equal comparison for all elements of the two engines for comparison.

        Because there is a difference, the argument could be made: if there is such an intentional difference in the screenshots with post-processing graphics, is there an intentional difference elsewhere as well to skew the data?

        Its possible that there isn’t, but just how trustworthy is that? That’s all.