Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Are we getting hot reload in this one?

Discussion in 'Unity 6 Beta' started by laurentlavigne, Oct 3, 2023.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,459
    I just tried Stride and my mind is blown.
    Change code, press apply in rider and your live build is updated - instantly.
    Now think of the 10+ seconds you have to wait on every single change, or the hoops you have to jump through in Unity...

    Here is a practical example of how magical this is: In Stride's topdown RPG example, the way it's programmed, if the character is tangent to the target and you click on the target, he'll punch tangent to the target like an idiot and since attack uses a trigger collider in front of the character he won't do a thing. Here I launched the build from within Rider, which took 2 seconds and the build is running in a floating window, I change bits and bobs in the script and it updates the build - THE MOTHERFUCKING BUILD! and the states are preserved. It takes me 5 minutes to fix that, without relaunching the build (THE MOTHERF... you get the idea!)

    It's so wild that, even though Stride is super rough, I'm seriously thinking about making a game in it. Ok done thinking, I will.
     
    Last edited: Oct 3, 2023
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,995
    Probably not.
     
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,757
    Last edited: Oct 3, 2023
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,459
    I didn't know that Flax had that too (EDIT: Apply Changes doesn't do anything in Rider). What's your take on these engines?

    Hopefully the managers are Unity will stop their infighting for a moment to realize that hot-reload is a huge game changer and many will switch engine when they get a taste of it.
     
    Last edited: Oct 5, 2023
  5. Ryiah likes this.
  6. FunAndGameslol

    FunAndGameslol

    Joined:
    Oct 5, 2023
    Posts:
    3
    There is no hope.
     
    Thygrrr likes this.
  7. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,643
    It's fascinating how the tech world tends to regress and move backwards. If you're old enough, you'll recall Edit and Continue in Visual Studio over 20 years ago. This feature allowed you to modify code while in break mode and seamlessly continue with the applied changes. It was an incredibly useful feature.
     
    Ryiah and adamgolden like this.
  8. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,757
    Agreed. Seeing that Godot has the requisite versions required to use hot reload but doesn't natively support it I'm thinking that it will require effort on the part of Unity, and we already know what happens if it requires effort on the part of this company: no support for a long time.
     
  9. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    442
    Please add hot reload by default in HDRP 2023.3.
     
  10. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    502
    Ok