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

Sdílet
Vložit
  • čas přidán 30. 06. 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

Komentáře • 99

  • @DetectiveJones
    @DetectiveJones Před rokem +90

    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 Před rokem +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 Před rokem +2

      Yeah, time ago, i said the same 😵

    • @DetectiveJones
      @DetectiveJones Před rokem +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 Před rokem

      I literally yesterday was searching for performance boost on unreal engine

    • @MaxStudioCG2023
      @MaxStudioCG2023 Před rokem

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

  • @MarcIndy333
    @MarcIndy333 Před rokem +14

    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 Před rokem +4

    Very appreciated man !
    Thank you

  • @tastysnak
    @tastysnak Před rokem +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  Před rokem +5

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

    • @tastysnak
      @tastysnak Před rokem +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  Před rokem +1

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

  • @thoughy5039
    @thoughy5039 Před rokem +2

    You are amazing Matt. Thank you so much!

  • @jodyroane4219
    @jodyroane4219 Před 8 měsíci

    This is awesome. Thank you.

  • @fidel_soto
    @fidel_soto Před rokem +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  Před rokem +2

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

  • @ShonkV
    @ShonkV Před rokem

    very helpful. thanks!

  • @g-dojjo
    @g-dojjo Před rokem +2

    Broo thank you so much!

  • @patrickjesseman354
    @patrickjesseman354 Před rokem

    Great info as always Matt! Cheers!

  • @DaDarkDragon
    @DaDarkDragon Před rokem +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

  • @kenalpha3
    @kenalpha3 Před rokem

    Thanks for the example and what to change.

  • @JessicaMarinaRushie
    @JessicaMarinaRushie Před rokem

    Thanks Matt that's neat!

  • @rifat.ahammed
    @rifat.ahammed Před rokem +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 ?

  • @VoodooAnimation
    @VoodooAnimation Před rokem +2

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

  • @matheusrudo
    @matheusrudo Před rokem

    Nice tip, thanks

  • @1.1st
    @1.1st Před rokem

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

  • @daghanulgur474
    @daghanulgur474 Před rokem

    This is really helpfull and great video as usual

  • @JumboTTV
    @JumboTTV Před rokem +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.

  • @kadirkilic5866
    @kadirkilic5866 Před 6 měsíci

    amazing video... thanks from turkey

  • @EddieJarnowski
    @EddieJarnowski Před rokem

    You are the best. Ty

  • @FelipedPaulaSantos
    @FelipedPaulaSantos Před rokem

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

  • @studiobaxter1242
    @studiobaxter1242 Před 4 měsíci

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

  • @SlyBalto
    @SlyBalto Před rokem +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 Před rokem +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  Před rokem +2

      I can look into that!

  • @bobgratton2986
    @bobgratton2986 Před rokem

    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  Před rokem +1

      Glad they were helpful! Thanks for your support!

    • @gastonbob3308
      @gastonbob3308 Před rokem

      @@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  Před rokem

      Awesome - nice work Gaston!

    • @bobgratton2986
      @bobgratton2986 Před rokem

      @@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 Před rokem

      I mean me and bob....

  • @boundlessunrealengine9467

    It wil be helpful!

  • @PatrickTheDM
    @PatrickTheDM Před rokem +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! 😁

  • @MrADELx18
    @MrADELx18 Před rokem +1

    ty

  • @joeduncan8011
    @joeduncan8011 Před rokem

    🙏You are the best.

  • @cheemayt1530
    @cheemayt1530 Před rokem +1

    You are the real G

  • @Oliver-ik7eu
    @Oliver-ik7eu Před rokem +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

  • @DetectiveJones
    @DetectiveJones Před rokem +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.

  • @FRACTUREDVISIONmusic
    @FRACTUREDVISIONmusic Před rokem +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.

  • @SageGoatKing
    @SageGoatKing Před 8 měsíci

    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!

  • @truecaptaint
    @truecaptaint Před rokem

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

  • @artdrawing6682
    @artdrawing6682 Před rokem +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

  • @slackamacgaming6721
    @slackamacgaming6721 Před 2 měsíci

    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...

  • @SilasMckeeIII
    @SilasMckeeIII Před rokem

    🔥🔥🔥🔥🔥🔥

  • @KastriertesLama
    @KastriertesLama Před rokem

    @ 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?

  • @devcorpseinteractive7490

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

  • @kjoligbris
    @kjoligbris Před rokem

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

  • @v8matey
    @v8matey Před 10 měsíci

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

  • @MarkOfArgyll
    @MarkOfArgyll Před rokem

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

  • @GrekkoGaming
    @GrekkoGaming Před 8 měsíci

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

  • @shi1hh
    @shi1hh Před 9 měsíci +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..

  • @violentpixelation5486

    🙏🔥🤘❤️

  • @Danha808
    @Danha808 Před rokem

    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  Před rokem +1

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

    • @Danha808
      @Danha808 Před rokem

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

  • @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

  • @RiverFox_YT
    @RiverFox_YT Před rokem

    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  Před rokem +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 Před rokem

      @@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 Před rokem

    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

  • @YiqunMa
    @YiqunMa Před rokem

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

  • @KyanZero
    @KyanZero Před rokem

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

  • @marcapouli7805
    @marcapouli7805 Před 7 měsíci

    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.

  • @OriginRow
    @OriginRow Před rokem

    What's your PC Configuration?

  • @res0lve
    @res0lve Před rokem

    What about CPU?

  • @mattia3843
    @mattia3843 Před rokem

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

    • @MattAspland
      @MattAspland  Před rokem

      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 Před 10 měsíci

    Oh yea that fucking helps with my CPU bottleneck

  • @AleksPanable
    @AleksPanable Před rokem +1

    CTRL + SHIFT + ,

  • @Iffy350
    @Iffy350 Před měsícem

    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.