How to Optimize Performance in Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2024
  • Unreal Insights tutorial showing how to understand and improve a game's performance. This video demos how tracing and the profiler works, and then applies those skills to fix a performance problem in my time rewinding prototype.
    🔴 Subscribe for more game development videos:
    th-cam.com/users/riotnu?sub_co...
    More details of the time rewinding prototype project:
    • Rewinding Time in UE5
    Check out my video on setting up Visual Studio 2022 for UE5:
    • How to Setup Visual St...
    Project is available on GitHub:
    github.com/NuMakesGames/ue5-r...
    -----------------------------------------------------------------------------------
    DISCORD ►► / discord
    TWITCH ►► / numakesgames
    TWITTER ►► / riotnu
    TIKTOK ►► / numakesgames
    -----------------------------------------------------------------------------------
    #unrealengine #gamedev #optimization
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 37

  • @lukask.3465
    @lukask.3465 3 หลายเดือนก่อน +9

    Important note : always measure CPU performance in cooked/Test build (Test config is basically a shipping build with enabled some basic debugging functionalty) especially BP performance gets much better with all optimizations on.

    • @knuckles7410
      @knuckles7410 หลายเดือนก่อน +1

      Then you haven't understood the point of using the profiler, right? No need to build the whole fucking project to test it. If the lags are due to debugging you would be able to see it in the graph. Sorry but you're not that smart in the end of the day.

  • @Beh3D
    @Beh3D 4 หลายเดือนก่อน +4

    This helped me so much and completely changed my understanding of debugging in Unreal. I just solved an issue that had been causing performance drops for months on my project. I can't believe you happened to post this video 1 day before I found out about Unreal Insights haha Thank you

  • @lFunGuyl
    @lFunGuyl หลายเดือนก่อน +1

    TBH my biggest takeaway was the bookmarks and profiler scopes, which I was not aware of before. It would've been great if you explained how to set those up, because it felt like you kinda breezed past that part. Appreciate the video though! Good delivery and useful info!

  • @SwingPoynt
    @SwingPoynt 4 หลายเดือนก่อน +3

    Great video! Could tell right away when first saw your videos that you know your stuff, and you know about aspects that matter a lot that aren't often discussed online!

  • @user-cg2gk1yw7w
    @user-cg2gk1yw7w 4 หลายเดือนก่อน +1

    Excellent video, thanks for sharing!

  • @LudwigvanBeethoven2
    @LudwigvanBeethoven2 หลายเดือนก่อน

    Great video. Full of info, i love these detailed tutorials that gets into every thing

  • @dominiktulacz
    @dominiktulacz 2 หลายเดือนก่อน +1

    Nice explanation. Thank you!

  • @Carkoon
    @Carkoon 2 วันที่ผ่านมา

    Really useful. Thanks!

  • @drugserega
    @drugserega 3 หลายเดือนก่อน

    man, thank you so much! great job!

  • @elnazheydari4163
    @elnazheydari4163 3 หลายเดือนก่อน

    ✌🏻✌🏻✌🏻thank a bunch …. Was very useful for me ….

  • @LeeGoGo
    @LeeGoGo 4 หลายเดือนก่อน +1

    amazing work

  • @didsdev4256
    @didsdev4256 4 หลายเดือนก่อน +2

    great video, thanks for the insight! 😉

  • @whyareless
    @whyareless 4 หลายเดือนก่อน

    You're awesome, Nu :)

  • @user-ol6sn6mb4x
    @user-ol6sn6mb4x 3 หลายเดือนก่อน +2

    There is no relevant button in the lower right corner of my editor interface, how to display it ?

    • @user-ol6sn6mb4x
      @user-ol6sn6mb4x หลายเดือนก่อน

      @@legoarkhamproject Use UE 5.3

  • @Utopia2023Game2
    @Utopia2023Game2 2 หลายเดือนก่อน

    Really UseFull VS The UnReal Trash webinars I saved This Video Thank u

  • @brianlaflamme1948
    @brianlaflamme1948 หลายเดือนก่อน

    FREAKING RAD DUDE!

  • @lorenfulghum2393
    @lorenfulghum2393 3 หลายเดือนก่อน

    when i press F to focus on a frame, it doesn't select an area that starts and stops with the frame... i.e. the blue selection thing starts before or after the frame box starts, and ends before or after the frame box ends. Any clue what is happening there?

    • @NuMakesGames
      @NuMakesGames  3 หลายเดือนก่อน

      Not sure. Possibly looking across rendering work split across one game thread frame?

  • @eugenecherepko417
    @eugenecherepko417 2 หลายเดือนก่อน

    Can I see overall average time of frame of game/render thread etc?

    • @NuMakesGames
      @NuMakesGames  2 หลายเดือนก่อน

      I typically just use stat unit for that information. I am not sure if that is displayed anywhere prominently in insights, but the trace definitely contains all the information required to compute it.

  • @GlassesAndCoffeeMugs
    @GlassesAndCoffeeMugs หลายเดือนก่อน

    Is it possible to bookmark chunks of BP code so they show up in insights?

    • @NuMakesGames
      @NuMakesGames  หลายเดือนก่อน +1

      Yes! Check out Trace Bookmark in the Trace Util Blueprint Library.

    • @GlassesAndCoffeeMugs
      @GlassesAndCoffeeMugs หลายเดือนก่อน

      @@NuMakesGames Incredible stuff. Very embarrassed I didn't know about this much sooner!

  • @As_Ss
    @As_Ss 3 หลายเดือนก่อน

    Makes u wonder if the engine debug drawing is like that cuz they dont care as its debug anyway or maybe there is a better way to use it

    • @NuMakesGames
      @NuMakesGames  3 หลายเดือนก่อน

      I was knowingly abusing it. Don’t call it thousands of times per frame. :)

    • @As_Ss
      @As_Ss 3 หลายเดือนก่อน

      @@NuMakesGames well it still seems heavy, i have seen the same thing with chaos vehicles debug drawing when u have like 10-20 vehicles, it looks like way less drawing than this project and it still tanks fps

  • @arrowsdev
    @arrowsdev 2 หลายเดือนก่อน

    Ooff man you are so good at explaining the front end session , i would love more content on this , also anything about code optimization , i noticed you are using a lot of constexpr , why is that is there any benefits from this ?, other than that you are great

    • @NuMakesGames
      @NuMakesGames  2 หลายเดือนก่อน +1

      constexpr is the best modern C++ mechanism for defining a compile-time constant. It’s mostly a style habit in my usage here, but you can also use it in scenarios where you are computing a value at compile time with zero runtime cost.

    • @arrowsdev
      @arrowsdev 2 หลายเดือนก่อน

      aha thanks for the tip brother@@NuMakesGames

  • @SB-mr2nk
    @SB-mr2nk 4 หลายเดือนก่อน +1

    yessssss