AppLovin’s attempts to acquire Unity last year turned sour when Unity opted for a merger with rivals ironSource instead . Now, in the ongoing shockwave of Unity’s unpopular introductio…

  • Dangdoggo
    link
    fedilink
    849 months ago

    Wow well I guess I’ll eat crow. I never thought that was possible to automate but given the use of LLMs I guess it is… Excited to see how it turns out

    • Match!!
      link
      fedilink
      English
      1509 months ago

      From their GitHub, they use this prompt to ChatGPT:

      You are professional Unity engineer who is migrating a large project from Unity platform to Godot 4.1. Migrate code to GDScript, which you are an expert in. Follow the following rules: 1. Output code only, put explanations as comments. 2. Do not skip any logic. 3. Preserve all comments without changing. 4. If migration is impossible leave “TODO [Migrate]” comment. 5. Use GDScript best practices. 6. Convert camelCase variable names and method names to snake_case. 7. Unity namespaces should migrate into ‘class_name’ directive. 8. Unity class should migrate into ‘class_name’ directive.

      Personally I find this kind of thing adorable and I hope it works out for them

      • YMS
        link
        fedilink
        249 months ago

        Does ChatGPT’s code get better if you include “You’re an expert in that language” in the prompt?

        • Match!!
          link
          fedilink
          English
          289 months ago

          Well, it will get worse if you tell it they’re an absolute fuckup

        • @Natanael@slrpnk.net
          link
          fedilink
          English
          229 months ago

          It does occasionally because it filters out sources which doesn’t fit that pattern, but it doesn’t guarantee anything (for a variety of reasons, like inevitable statistical cross contamination in the model, bad samples like overconfident answers, smaller number of samples to learn from, etc).

        • @drislands@lemmy.world
          link
          fedilink
          English
          69 months ago

          Good question. Based on my limited understanding of LLMs, I don’t see how it could…I’m interested to hear if that’s not the case.

          • Encrypt-Keeper
            link
            fedilink
            7
            edit-2
            9 months ago

            Because an LLM’s goal isn’t to always be the most correct at answering questions. It just says what it thinks you want it to say. It’s not that telling it that it’s an expert necessarily makes it smarter, you’re just specifying not to give you an answer as though it was an amateur, which otherwise it wouldn’t have any reason not to do.

          • @Jerkface@lemmy.world
            link
            fedilink
            English
            59 months ago

            I use ChatGPT for math tutoring occasionally and when I started using the prompt “Suppose you are a professional mathematician,” I got fewer responses resembling those you might get from a classmate and more which were thorough and rigorous.

      • Dangdoggo
        link
        fedilink
        119 months ago

        I’m pretty interested to see the prompt they use for Unreal

        • @PoorlyWrittenPapyrus@lemmy.world
          link
          fedilink
          English
          199 months ago

          You are professional Unity engineer who is migrating a large project from Unity platform to Unreal Engine 4. Migrate code to C++, which you are an expert in. Follow the following rules: 1. Always output exactly two code blocks: one with headers and other with implementations. 2. Do not skip any logic. 3. Preserve all comments without changing. 4. If migration is impossible leave “TODO [Migrate]” comment. 5. Use Unreal Engine C++ best practices.

      • @Why9@lemmy.world
        link
        fedilink
        English
        17
        edit-2
        9 months ago

        The conspiracy theorist in me always thought stuff like this was the result of corporate espionage; a loyal employee of a rival firm joins their competitor’s ranks and works their way up and finally gets the commanding role, only to announce something this dumb and then take it back (losing their reputation without anything in return) and then the guy leaves the company and finds a comfortable position on the board of their original rival company.

        But… No? These people really are that stupid and actually did that to themselves.

        And these are the people being paid 300x the salary of ordinary, hard working people!

        • @Jimmycrackcrack@lemmy.ml
          link
          fedilink
          English
          159 months ago

          A lot of the time when this type of thing comes from on high it really is actually a good move for the C suite and for shareholders in the short term. I’m saying this as if I know anything about the topic, I don’t, but I have read about this.

          CEOs that flight from company to company, brought in to be the saviour and increase profits a bajillion percent just like they promised, often have a bag of tricks of classic moves that aren’t actually all that genius or clever but will, initially at least, appear to improve the bottom line. They may have obvious consequences which is why such an obvious move wasn’t made before, but if they can ride the crest of the wave of initially positive results they can exit just in time to leave the place seemingly better off than before they arrived knowing full well it’s all about to implode.

      • gila
        link
        fedilink
        English
        139 months ago

        Epic allows devs to stay under the license terms for specific versions of the engine. If they started charging for installs, devs can just use the older engine versions and avoid the charges.

        • @unexpectedteapot@lemmy.ml
          link
          fedilink
          English
          89 months ago

          They “don’t” allow it, that’s how licenses work.

          I keep seeing comments like these on source available nonfree software, but it really doesn’t factor in the fact that older software is NOT going to be used due to bugs, features missing, technical debt, secuity vulnerabilities, etc. So unless it is forked (i.e: OpenTofu), it is as good as useless for everyone but hobbyists.

          • gila
            link
            fedilink
            English
            39 months ago

            It’s allowed by a specific clause in their TOS which assigns a EULA version dependent on the engine version. The EULA itself is different for different versions.

            The point is that devs choosing to stay on an old version would not be good for Epic, so they are unlikely to directly create the circumstances where that is the logical result.

            • 📛Maven
              link
              fedilink
              English
              119 months ago

              Unity also had that clause

              In fact, they tried to delete it after their announcement

              • @halcyoncmdr@lemmy.world
                link
                fedilink
                English
                79 months ago

                Yup, they actually removed the entire GitHub repo that they made specifically to track those changes for transparency.

              • gila
                link
                fedilink
                English
                4
                edit-2
                9 months ago

                The clause is:

                If we make changes to this Agreement, you are not required to accept the amended Agreement, and this Agreement will continue to govern your use of any Licensed Technology you already have access to. However, if we make changes to this Agreement, you will not be allowed to access certain Epic services or download the Licensed Technology unless you have accepted the amended Agreement.

                My understanding is this is fundamentally different to the Unity clause you’re pointing out.

                Another thing is that Unreal is open source source accessible. If there’s a bug in 5.0 that is resolved in 5.1 but you don’t want to accept the amended terms for 5.1, it’s possible to fix the bug and build the engine yourself. In the event of a significant change like the one with Unity, I imagine some dev group would just fork it and maintain it themselves.

          • Veraxus
            link
            fedilink
            19 months ago

            They do, though. Not only do they offer multiple, flexible licenses, their basic license specifically guarantees that it is irrevocable. In fact, if that basic license isn’t good enough, they are open to license negotiation.

            I strongly recommend reading their basic license. It’s already one of the most fair and reasonable “out of the box” licenses in the industry.

            https://www.unrealengine.com/en-US/eula/unreal

    • @halcyoncmdr@lemmy.world
      link
      fedilink
      English
      189 months ago

      That’s because both Unity and Godot use C# while Unreal uses C++ for development. It is much easier to move from Unity to Godot since they use the same language for development. Moving to Unreal basically means starting over.

      • KSP Atlas
        link
        fedilink
        English
        69 months ago

        Unity C# and Godot C# havr different APIs and writing in GDScript is best practise in godot afaik

        • @murtaza64@programming.dev
          link
          fedilink
          English
          39 months ago

          Yeah exactly, Unity and Godot both use C# the same way React and Svelte both use JavaScript. Definitely some level of transferability, but honestly worth learning GDScript in my opinion because it’s a simple language and a pretty good fit for game scripting, and the one that gets first class attention from Godot.

      • jayrhacker
        link
        fedilink
        49 months ago

        Pretty sure Godot has it’s own scripting language (hence the prompt converting all the C#/JS code from Unity).

        Unreal is C++ but it’s also another commercial proprietary engine, so they could rug-pull in the same way.

  • 👁️👄👁️
    link
    fedilink
    English
    619 months ago

    I think they’re really overestimating ChatGPT’s ability to code. Also how do they plan on fitting a context that big.

  • P03 Locke
    link
    fedilink
    English
    89 months ago

    AppLovin’s attempts to acquire Unity

    I don’t think the journalist quite understands the relationship here.