How To Find What Is Killing Your Performance In Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • Hey guys, in today's video I'm going to be showing you how to optimise your games in Unreal Engine by finding what is lagging your game and lowering your FPS.
    Get access to the project files and more on my Patreon: / mattaspland
    Console Command: profilegpu
    Get This Map: • Unreal Engine Marketpl...
    #UE5 #UnrealEngine5 #UE5Tutorial
    ___________________________________________________________________________
    00:00 - Intro
    00:18 - Overview
    01:19 - Tutorial
    06:11 - Final Overview
    06:28 - Outro
    ___________________________________________________________________________
    If you enjoy make sure to subscribe: / @mattaspland
    Join My Discord Server: / discord
    Follow Me On Twitter: / matt_aspland
    Follow Me On Instagram: / matt_aspland_
    All My Social Media Links: linktr.ee/MattAspland
    ___________________________________________________________________________
    If you want to support me, there are many different ways of doing so. This is by no means expected or required. It is just a nice support :)
    Patreon: / mattaspland
    PayPal: paypal.me/mattaspland?country...
    Ko-Fi: ko-fi.com/mattaspland
    Thank you :)
    ___________________________________________________________________________
    To access the project files and screenshots from the video, check out my Patreon above!
    My Public Video List: trello.com/b/7vJgXzBm
    Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
    The Basics Of Nodes Playlist: • The Basics Of Nodes In...
    ___________________________________________________________________________
    ♫Outro Song♫
    ●Kronicle - Chill Noons

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

  • @DetectiveJones
    @DetectiveJones ปีที่แล้ว +89

    I've said this so many times but it is so weird how whenever I have a thought or need something for my project, you, Ryan Laley and CodeLikeMe will make a video about that topic the very same day.

    • @zapking4244
      @zapking4244 ปีที่แล้ว +6

      I was going to say the exact same thing. I was making a cave system and wanted to make an echo. I looked it up and 43 min ago Matt uploaded a video on that. And I needed to work on an inventory system and Ryan posted part 4 15 min ago.

    • @ReVelaO
      @ReVelaO ปีที่แล้ว +2

      Yeah, time ago, i said the same 😵

    • @DetectiveJones
      @DetectiveJones ปีที่แล้ว +4

      @@zapking4244 They're in our minds and there is no escape! We are cursed with quick and well explained answers to our questions...A horrifying future we live in XD

    • @Eclipsesaga3203
      @Eclipsesaga3203 ปีที่แล้ว

      I literally yesterday was searching for performance boost on unreal engine

    • @MaxStudioCG2023
      @MaxStudioCG2023 ปีที่แล้ว

      if you want something badly enough ,the universe will provide you that thing :)

  • @MarcIndy333
    @MarcIndy333 ปีที่แล้ว +13

    This is a really helpful video. I’ve had so many performance issues with some of my scenes and I think this is going to make a big difference. Thanks for the tips!

  • @khalilaljarad6226
    @khalilaljarad6226 ปีที่แล้ว +4

    Very appreciated man !
    Thank you

  • @DaDarkDragon
    @DaDarkDragon ปีที่แล้ว +11

    ctrl+shift+comma is the hotkey for that gpu profile, id also suggest getting multiple captures in a row to get an average. sometimes the times can actually vary wildly with the same camera position/angle in my own testing when i first found out about that

  • @tastysnak
    @tastysnak ปีที่แล้ว +19

    I would be great to see more videos on profiling. One of the biggest criticisms I hear about Unreal Engine is to do with package sizes of a finished game compared with similar games in other engines. Finding ways of reducing package sizes would be interesting to see too.

    • @MattAspland
      @MattAspland  ปีที่แล้ว +5

      I'll definitely add it to my list!
      I made this video a while back about reducing packaged build size, this might help: th-cam.com/video/ofWiHPnkkU4/w-d-xo.html

    • @tastysnak
      @tastysnak ปีที่แล้ว +2

      @@MattAspland Yes, I have already seen it. and it's been a big help. But with UE5.1 now out, I don't know if there has been any improvements built into the engine specifically for that purpose.

    • @MattAspland
      @MattAspland  ปีที่แล้ว +1

      Cool, I can look into it and make an updated video if I find anything

  • @kenalpha3
    @kenalpha3 ปีที่แล้ว

    Thanks for the example and what to change.

  • @thoughy5039
    @thoughy5039 ปีที่แล้ว +2

    You are amazing Matt. Thank you so much!

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

    This is awesome. Thank you.

  • @rifat.ahammed
    @rifat.ahammed ปีที่แล้ว +4

    Great way to inspect project Performance. Thank you soo much. Can you please make another video on how to find out what specific blueprint code is responsible for frame drop ?

  • @patrickjesseman354
    @patrickjesseman354 ปีที่แล้ว

    Great info as always Matt! Cheers!

  • @fidel_soto
    @fidel_soto ปีที่แล้ว +4

    There's much more to profiling and many other ways to check for performance hickups but I must admit this is a greeeaaat start! Good job!

    • @MattAspland
      @MattAspland  ปีที่แล้ว +2

      Thanks Fidel! I hope to expand upon this video in the future with other profiling features

  • @ShonkV
    @ShonkV ปีที่แล้ว

    very helpful. thanks!

  • @g-dojjo
    @g-dojjo ปีที่แล้ว +2

    Broo thank you so much!

  • @VoodooAnimation
    @VoodooAnimation ปีที่แล้ว +2

    How did you know that I needed this tutorial? 😂 Definitely a great start for optimization. Thanks for the tutorial!

  • @JessicaMarinaRushie
    @JessicaMarinaRushie ปีที่แล้ว

    Thanks Matt that's neat!

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

    amazing video... thanks from turkey

  • @1.1st
    @1.1st ปีที่แล้ว

    This is what I was looking for....❤️

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

    Ah man, you lifesaver. That just improved my game SO much.

  • @daghanulgur474
    @daghanulgur474 ปีที่แล้ว

    This is really helpfull and great video as usual

  • @FelipedPaulaSantos
    @FelipedPaulaSantos ปีที่แล้ว

    Great video. Could you make one about good practices related to performance in UE?

  • @matheusrudo
    @matheusrudo ปีที่แล้ว

    Nice tip, thanks

  • @JumboTTV
    @JumboTTV ปีที่แล้ว +1

    Great video Matt!
    I just used this method to test my scene and its running well.. most of my performance is coming from Lumen but its only like 5ms.

  • @SlyBalto
    @SlyBalto ปีที่แล้ว +3

    Super helpful ty!! Can you make a video like this but for CPU usage? Maybe it could have tips on how to optimize certain types of objects like enemies or items/collectables by showing good optimization practices?

    • @zablade
      @zablade ปีที่แล้ว +1

      You get into the realm of micro-optimizations at that point, you should realistically only be optimizing when you need to, and for the purposes of your project.

    • @MattAspland
      @MattAspland  ปีที่แล้ว +2

      I can look into that!

  • @EddieJarnowski
    @EddieJarnowski ปีที่แล้ว

    You are the best. Ty

  • @bobgratton2986
    @bobgratton2986 ปีที่แล้ว

    Hello Matt, I really love your tutorial this one was really helpful and also combined with the tutorial for nanites I should say those 2 videos are a must see !

    • @MattAspland
      @MattAspland  ปีที่แล้ว +1

      Glad they were helpful! Thanks for your support!

    • @gastonbob3308
      @gastonbob3308 ปีที่แล้ว

      @@MattAspland yes they are helpfull, also with your project parkour vault and climbing animation i have made a little parkour miniputt game level for my game and level design school project.

    • @MattAspland
      @MattAspland  ปีที่แล้ว

      Awesome - nice work Gaston!

    • @bobgratton2986
      @bobgratton2986 ปีที่แล้ว

      @@MattAspland me and bob are really really close, in fact, i think we are the same body (.......lol). Thanks keep up the good work I will keep watching your videos.

    • @gastonbob3308
      @gastonbob3308 ปีที่แล้ว

      I mean me and bob....

  • @boundlessunrealengine9467
    @boundlessunrealengine9467 ปีที่แล้ว

    It wil be helpful!

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

    Looks like I've got one of those cases that is harder to detect, because FPS is fine when not simulating or playing in editor, it's sitting at 70fps, but when I hit play is when it drops in the toilet.
    Still very good to know about this!

  • @PatrickTheDM
    @PatrickTheDM ปีที่แล้ว +1

    Very helpful. I'm intentionally creating my game on a platter drive "HDD" and not allowing any level to drop below 60 FPS to help keep me in line. I'm also not changing the default streaming.poolsize for the same reason. If I get that warning, I know I'm pushing the limit. And now I have this new tool! 😁

    • @MattAspland
      @MattAspland  ปีที่แล้ว +1

      Awesome, brilliant ideas Patrick!

  • @DetectiveJones
    @DetectiveJones ปีที่แล้ว +2

    I would love tips for optimizing lights while using Lumens if you know any! I love the way it looks and really want it in my project, but it just uses so much.

    • @MattAspland
      @MattAspland  ปีที่แล้ว +2

      I can add this to my list!

  • @MrADELx18
    @MrADELx18 ปีที่แล้ว +1

    ty

  • @artdrawing6682
    @artdrawing6682 ปีที่แล้ว +2

    The more lights and shadows, the lower the framerate. This is why the day mode is always better than the night mode. You can cut off the shadows and stop activating Global lumination

  • @truecaptaint
    @truecaptaint ปีที่แล้ว

    cool tut, thanks! I wonder however whether this helps me to boost perf from 14 to 88 fps at least

  • @KastriertesLama
    @KastriertesLama ปีที่แล้ว

    @ Matt Aspland my Question is: U can get more FPS when u have the correct LOD settings in your Scene right? with good custom lods u should have more fps instead of automatic lods?

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

    before i know profilegpu, i copy a level, and then hide all stuff, then one by one for show mesh, final i can get what cause low fps..

  • @FRACTUREDVISIONmusic
    @FRACTUREDVISIONmusic ปีที่แล้ว +1

    Thank you for this!
    Could you do a more comprehensive video in regards to performance, dealing with Global Illumination/Lumen, Anti-Aliasing to SuperSample or not to SuperSample that is the question, Shadows Virtual SM vs Shadow Maps.

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

    And if you want to keep all your lights, WORLD PARTITION will be fixed the problem about performance ??

  • @Oliver-ik7eu
    @Oliver-ik7eu ปีที่แล้ว +1

    First of all, I would like to thank you for helping people achieve their dreams If you could make a tutorial about widget in ue like make an operating system or terminal simulator and this operating system can play a video or music or even play a game or display a web page i've seen many project in unreal engine It includes this feature made with blueprint

  • @joeduncan8011
    @joeduncan8011 ปีที่แล้ว

    🙏You are the best.

  • @cheemayt1530
    @cheemayt1530 ปีที่แล้ว +1

    You are the real G

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

    This is Cool...my fairly large outdoor map is at 6.21...most of it's shadow depths--Ultra dynamic sky...then my base pass...I'm still getting 60fps tho...idk why this video popped up in my feed...

  • @YiqunMa
    @YiqunMa ปีที่แล้ว

    I have something called BassPass and it Is killing my FPS, how do I reduce it?

  • @devcorpseinteractive7490
    @devcorpseinteractive7490 ปีที่แล้ว

    Ctrl shift comma I think is the hot key for the GPU profile

  • @kjoligbris
    @kjoligbris ปีที่แล้ว

    I'm assuming the further I go on this is gonna be a life saver

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

    You can make the editor boot faster by having the default map to an empty scene.

  • @RiverFox_YT
    @RiverFox_YT ปีที่แล้ว

    im getting on average between 8 and 20fps on a 2070s gpu. i did this command and the liughting shows using 2.92 ms (excluding the directional light, all the other lights are around 0.07 and 0.02ms. i dont know what else i can do to raise my fps because nothing else is really using up much. any sugestions?

    • @MattAspland
      @MattAspland  ปีที่แล้ว +1

      It could be the size of your map or amount of actors in the level. Try setting up world partition or distance culling. I'd also look into enabling Nanite if you have high quality textures or assets.
      Another thing, build and package your game and see how it runs in the packaged build. The editor and packaged builds use different compilers, so the packaged build always has better FPS that in-editor too anyway.

    • @RiverFox_YT
      @RiverFox_YT ปีที่แล้ว

      @@MattAspland ill give those a try. i checked out the performance settings and the only thing that shows red is the water, everything else is a nice green as i go around the map. its not too large a map really. has multi biomes in it, but everyone else is telling me my pc should be more than capable of 60fps

  • @SSDEdward
    @SSDEdward ปีที่แล้ว

    I guess it's just my graphics card... lol 1660 is not cutting it, unless i can find a way to lower settings while creating

  • @MarkOfArgyll
    @MarkOfArgyll ปีที่แล้ว

    Control + Shift + comma should be the shortcut for the GPU Visualizer.

  • @SilasMckeeIII
    @SilasMckeeIII ปีที่แล้ว

    🔥🔥🔥🔥🔥🔥

  • @ResonanceRebirth
    @ResonanceRebirth ปีที่แล้ว

    There is no way to know how much total VRAM uses the game during the playtests?

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

    I never profile anything. There are too many tools and windows , and most of them are just lists of not understable names and abstract info units. Each time I try I just loose hours trying to understand profiling results. Anyway in 9 years I never had a project developped to a point I really need to profile. I always give up my projects before.

  • @guillermofleitaspulido
    @guillermofleitaspulido ปีที่แล้ว

    hi! Thanks for the video! awesome info, btw i would like to ask, Im struggling looking for a way to get a list of All Materials used within a Level(with the number of materials used), could anyone help me please? Im using the UE5.1

  • @Danha808
    @Danha808 ปีที่แล้ว

    is there anything you can do if you need lots of lights dynamic can you enable/ disable dynamic shadows by how close the player is?

    • @MattAspland
      @MattAspland  ปีที่แล้ว +1

      This indeed possible, I can make a video on this soon!

    • @Danha808
      @Danha808 ปีที่แล้ว

      @@MattAspland plz do, ive been trying to find a away for months

  • @OriginRow
    @OriginRow ปีที่แล้ว

    What's your PC Configuration?

  • @res0lve
    @res0lve ปีที่แล้ว

    What about CPU?

  • @violentpixelation5486
    @violentpixelation5486 ปีที่แล้ว

    🙏🔥🤘❤️

  • @mattia3843
    @mattia3843 ปีที่แล้ว

    Directional light Is eating 50/60 fps, really dont know what to do.

    • @MattAspland
      @MattAspland  ปีที่แล้ว

      Unfortunately there isn't a lot you can do with the directional light itself other than build the lighting. You'll have to look into optimising what the directional light is affecting. I.e. some assets won't need to cast shadows, or be affected by the directional light. Some assets could use Nanite, etc.

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

    Oh yea that fucking helps with my CPU bottleneck

  • @AleksPanable
    @AleksPanable ปีที่แล้ว +1

    CTRL + SHIFT + ,

  • @Iffy350
    @Iffy350 21 วันที่ผ่านมา

    I always figured Fortnite looking like garbage was an esthetic choice. I had no idea it was made that way because the game engine was garbage.