How to Setup Visual Studio 2022 for Unreal Engine 5

Поділитися
Вставка
  • Опубліковано 19 лис 2023
  • The latest version of Visual Studio has some super cool features for Unreal Engine 5. In this video we run through a full setup and demo the new integrations for blueprints, tests, naming conventions, and macro expansion.
    🔴 Subscribe for more game development videos: ua-cam.com/users/riotnu?sub_co...
    Check out my video on building UE5 from source code:
    • How to Build Unreal En...
    Learn the basics of Unreal Engine:
    • Beginning Unreal
    -----------------------------------------------------------------------------------
    DISCORD ►► / discord
    TWITCH ►► / numakesgames
    TWITTER ►► / riotnu
    TIKTOK ►► / numakesgames
    -----------------------------------------------------------------------------------
    #unrealengine #visualstudio #gamedev #programming #cpp
  • Наука та технологія

КОМЕНТАРІ • 128

  • @Shiick
    @Shiick 7 місяців тому +7

    Having worked with UE and VS before, there's so much I didn't know just on the setup, thanks Nu!

  • @jacksonkettel7462
    @jacksonkettel7462 Місяць тому

    Very helpful video! I was about to give up with using Unreal Engine before I watched your video, and it really helped me get my environment all set up!

  • @asdrofllmao
    @asdrofllmao 4 місяці тому +3

    Nicely done, couldn't have figured it out without this guide.

  • @jackyasgar8878
    @jackyasgar8878 5 місяців тому +6

    Thanks for the calm and collected approach to setting this up. Other videos are very staccato and difficult to watch and follow. I've been a developer for over 20 years, so I know it's hard, but you have to slow down and you did a great job.

    • @RiverExplorerGames
      @RiverExplorerGames 3 місяці тому

      Yes, I am a 45+ year UNIX/Linux programmer and I had to press pause, backup, play several time to figure out which VS menu option was selected.

  • @autentikum
    @autentikum 4 місяці тому +1

    Thank you, very usefull, saved me a lot of time. It is really for a beginner to find all steps to setup everything and this video covers all. 💪

  • @sayber2th891
    @sayber2th891 5 місяців тому

    This is an awesome video! Great explanation of what the unreal engine integration tools do in visual studio. Switched back to visual studio after some time of not using it and was a bit confused when the integration pop up opened XD.

  • @VladyVeselinov
    @VladyVeselinov 6 місяців тому +29

    There's so much that can be automated here, I can't believe we need to do all of this manual setup in 2023...

    • @F4ILS4FE_GAMING
      @F4ILS4FE_GAMING 4 місяці тому +6

      And having something work without errors baked in the cake. Pretty frustrating.

    • @sujaypuri7287
      @sujaypuri7287 4 місяці тому +2

      It’s called gatekeeping

    • @ryslanxd8787
      @ryslanxd8787 3 місяці тому +2

      @@sujaypuri7287 I really do not think it was meant to be a gatekeeping, this is just a result

    • @mdlsvensson
      @mdlsvensson 3 місяці тому +5

      Epic has made it clear that they don't give a shit about anyone who doesn't work in AAA. Just look at the documentation, it's pathetic

  • @LeeGoGo
    @LeeGoGo 7 місяців тому +1

    very nice, having you back

  • @dani.sports
    @dani.sports Місяць тому

    Thanks for the tutorial, thanks to you this engine is finally working

  • @ChrisBakare
    @ChrisBakare 3 місяці тому

    Came because build was finicky once, left with much more tools that I didn't know I needed. Thanks

  • @corey13
    @corey13 6 місяців тому +1

    this was really helpful, thank you!

  • @evanlane1690
    @evanlane1690 2 місяці тому

    Hey! Future Marcus! You're awesome! Thanks for putting this together! My UE coding is actually working correctly now!

  • @luismendes8238
    @luismendes8238 3 місяці тому

    Thank you very much!!! another important lesson learned!!!

  • @TorQueMoD
    @TorQueMoD 4 місяці тому

    Thanks so much for this fantastic video! Much appreciated :)

  • @jahinha
    @jahinha 5 місяців тому

    Thanks for tutorial and the UE 5 tips! Helped a lot

  • @andcaru
    @andcaru 29 днів тому

    Thanks a lot, very clear!

  • @eternalsoma
    @eternalsoma 8 днів тому

    Top tier content, keep the good work!

  • @forecastumbrella1626
    @forecastumbrella1626 2 місяці тому

    Thank you, was very helpfull!

  • @Cvusmo
    @Cvusmo 5 місяців тому +1

    Thank you for this. I spent 6 hours today stumbling through unreal documentation figuring out how all of this works. I got it working and then I ran into issues. The problem I've had is that with UE 5.3.2 and VS 2022, when I build the solution and then run UE Editor, nothing I do in VS updates the editor, but the editor will override and update VS. Anyways, very thankful to have found this video and still got 10 mins to watch lol

  • @IsabellaFrancoo
    @IsabellaFrancoo Місяць тому

    Excellent tutorial!

  • @codeman99-dev
    @codeman99-dev 4 місяці тому

    Bookmarking this for later. You are awesome good sir! I hope I get to sit next to you and pick your brain some day :)

  • @fantasybrick7032
    @fantasybrick7032 3 місяці тому

    "I wanted to express my gratitude for the tutorials you have been providing. Your tutorials have been incredibly helpful and informative, and they have given me a great deal of confidence and knowledge. I feel like I have learned so much from you and I really appreciate the time and effort you have put into creating these tutorials. They have given me a really positive and uplifting feeling and I am excited to continue learning from you. Thank you so much for sharing your knowledge and expertise with me."

  • @Utopia2023Game2
    @Utopia2023Game2 2 місяці тому

    SUPER helpful thx

  • @Chromixxxx
    @Chromixxxx 3 місяці тому

    thanks for this!

  • @Chuckstarrious
    @Chuckstarrious 3 місяці тому

    Lifesaver, cheers!

  • @Bezayne
    @Bezayne 5 місяців тому +1

    Thank you for this video, it saved my sanity! Btw should you pick the blue theme instead of the dark at VS2022 installation, you may run into the issue that the unreal engine configuration check does _Not_ show the little run buttons. Switching the theme to dark fixes that.

  • @bilelbellili3721
    @bilelbellili3721 7 місяців тому

    Welcome back!

  • @RiverExplorerGames
    @RiverExplorerGames 3 місяці тому

    GREAT help, thanks! I loved the speed. I have a pause button. I dislike videos where they have too much dead air time in the audio. I did have some difficulty figuring out which VS menu items to press as a few times they were obscured by the youtube video title. But again, that is what pause, backup, and play are for.

    • @NuMakesGames
      @NuMakesGames  3 місяці тому +1

      Thanks for the feedback! Will try to be more mindful of where that UI is next time.

  • @fahimjaowad8717
    @fahimjaowad8717 3 місяці тому

    awsome! saving

  • @unblender777
    @unblender777 Місяць тому +1

    Thanks

  • @spora2555
    @spora2555 3 дні тому

    thank you

  • @DarthIckus
    @DarthIckus 27 днів тому

    Thanks for the help! You saved me many hours of pulling what's left of my hair out.

  • @YoutubeAccountMan
    @YoutubeAccountMan Місяць тому +2

    FYI the VS Plugin does not work in 5.4 and MS will not be updating it because it's functionality is now part of VS 2022

  • @user-mc3hv2hr8r
    @user-mc3hv2hr8r 8 днів тому

    Very helpful video. There's another question: if I canceled "Show on startup" for the Unreal Engine Integration Configuration window and closed it, how can I re-open this window?

  • @martinjesuschipoco6377
    @martinjesuschipoco6377 4 дні тому

    Hi, good video and well explained but I'm getting an error in the install overall section, the two first checks always red and says that the integration isn't installed when it actually it is enabled on plugin section.
    Im not getting errors when building or something so i don't know if I should continue or try to fix it bc I would start a kinda big project with cpp and doesn't want to mess it up later.
    Thanks!

  • @YoutubeAccountMan
    @YoutubeAccountMan Місяць тому

    Can you post your other settings in VS? Specifically how you got the collapsing boxes with + and - back. I hate their little arrows.

  • @eivenhoe
    @eivenhoe 2 місяці тому

    Very nice video, thanks for this knowledge. Did you find the solution for the "empty NameSpace Error" -> UObject -> Class AttemptToFindShortTypeNamesInMetaData which is shown in Test Explorer? Kind regards, Eiven

  • @willynahc
    @willynahc 7 місяців тому

    I don't even work with UE or VS but this was oddly entertaining

  • @Emy-eo8zx
    @Emy-eo8zx 21 день тому

    Can we code in c# in visual studio and trough it implement it in UE5 ?

  • @morgenmuffl
    @morgenmuffl Місяць тому

    Dude you are my hero your video is the only thing in the whole internet that works to set up visual studio for unreal engine 5.3 xD what a shitshow it is to get that thing to work 💩

  • @whyareless
    @whyareless 7 місяців тому

    Nice stuff!! What happened to your other video that was about prototyping / greyboxing in Unreal Engine to make quick level design? Swear you had a video on that unless I'm trippin :')

    • @whyareless
      @whyareless 7 місяців тому

      ohh that video was on your other channel 😅

    • @NuMakesGames
      @NuMakesGames  7 місяців тому

      ua-cam.com/video/cQjZMQXsQLQ/v-deo.html
      Yeah, sorry about that. 😅

  • @Ehl-ln8gz
    @Ehl-ln8gz Місяць тому

    Can you upload a video on step by step process android game devlopment process using unreal engine 5 c++

  • @marcapouli7805
    @marcapouli7805 2 місяці тому

    Thanks for the vid !! I've watched it carefully and I don't understand what is wrong. Visual studio doesn't find any header file or include. I've searched google and it says to set the path to the header file at some point, but I've never done that before and it was working until yesterday and also I haven't found how to do that), and I'm trying with empty project since then and that's the same. I've reinstalled VS with all the settings, checked UE 5.3 several times, tried with 5.2... I don't know what else I can do, I create a new c++ project, the project by default is screwed...

  • @megan8494
    @megan8494 18 днів тому

    any video on actually setting up the scene?

  • @jonasmlgaard8884
    @jonasmlgaard8884 4 місяці тому +1

    Im watching this video because i wanted to go back and see if I missed some steps when I did my installation and notice that the Checklist you show at 10.20, I forgot all about it and can't seem to find it again. Do you happen to know if it's possible to get it to reappear?
    Btw. fantastic video. Super helpfull! Thanks a bunch for making that recording.

    • @NuMakesGames
      @NuMakesGames  4 місяці тому +1

      It should launch on startup when you open an Unreal project unless you suppressed it (I think there's a checkbox). To bring it back you can go into Tools -> Options and search Unreal Engine. Then in General settings, flip "Show on startup" to True.

  • @gabrielchcosta
    @gabrielchcosta 24 дні тому

    I've been following a great course on Udemy but I've been having some issues when it comes to compiling and other processes which really hinder the experience. I've followed the steps on this video and will for sure return if I notice any changes.

  • @dtnguyen277
    @dtnguyen277 23 дні тому

    I'm having trouble getting my UBT to create DebugGame configuration I only get Development. Wondering if anyone knows why

  • @Nakumotte
    @Nakumotte 7 місяців тому

    UE5 my beloved 😍

  • @marcooasan1668
    @marcooasan1668 3 місяці тому

    I have a question: you have downloaded that launcher version of UE5 then a source build, are you using the source build for your project? and rebuild it from there? also the integrator is not being install in the source build of the engine. if im using the source build unreal integration configuration showing as not configure, i tried to build a dedicated server using launcher version 5.3 C++ and having error with MSB3073

    • @NuMakesGames
      @NuMakesGames  3 місяці тому

      In this video I am only building project sources. I do have a video on building the engine from source, which you can find here:
      ua-cam.com/video/fag-mWc6VmY/v-deo.html

  • @amerboss99
    @amerboss99 7 місяців тому

    what if you want to use sdk for android, shall i check mobile development with C++ and multi platform ui app development?

    • @NuMakesGames
      @NuMakesGames  7 місяців тому +2

      Yeah, you can add on the mobile development components. You can also add/remove piece on demand by relaunching the Visual Studio Installer.

  • @user-cy9su1uz9x
    @user-cy9su1uz9x 4 місяці тому

    Bro I installed the same packages that you choose from beginning of the video but it was 25GB why?

  • @biswajittripathy2786
    @biswajittripathy2786 2 місяці тому

    How to c++ code for unreal engine 5 in visual studio ..?

  • @ELgauntlet
    @ELgauntlet 5 днів тому

    Hey so I have some issues, that are not addressed in this video. I have been trying visual studio code, as they follow in Udemy, but that program have just been broken for me whenever I have tried it, so I tried with visual studio 2022 instead.
    However when you press F5 to run the build, I get "There were build errors. Would you like to continue and run the last successful build?" However this is the first time I try to build, so when I press yes I get "The following modules are missing or built with a different engine version (Project Name) Would you like to rebuild them?". I press yes again and "(Project Name) could not be compiled. Try rebuilding from source manually"
    I mean I'm at a lost here. I have googled around for what feels like a week and are close to just stop trying to learn unreal engine all together

  • @LaynaStambaugh
    @LaynaStambaugh Місяць тому +1

    I LOVE your desktop background it's so cozy

  • @eyebol
    @eyebol Місяць тому

    when i try to create a project i get this:
    LINK : fatal error LNK1181: cannot open input file 'delayimp.lib'

  • @jamiebrannan981
    @jamiebrannan981 Місяць тому

    This vid didn't solve my exact problem, but solved another and allowed me time to figure out my other issue. 10/10 good sir!

  • @LoofaOfDoom
    @LoofaOfDoom 2 дні тому

    When you debug can you use an already open unreal editor instead of it always opening a new one?

    • @NuMakesGames
      @NuMakesGames  2 дні тому +1

      You have to open another one if you do a full build. You can use Live Coding to make changes and keep the same session up though.

  • @astralstormgamestudios1259
    @astralstormgamestudios1259 Місяць тому

    Hi! Does this video apply also if you package a game from the editor ?

    • @NuMakesGames
      @NuMakesGames  Місяць тому

      For a C++ project, yes. For a Blueprint only project I think you still need the compiler setup but you probably don’t need all the plugin and VS settings bits.

    • @astralstormgamestudios1259
      @astralstormgamestudios1259 Місяць тому

      @@NuMakesGames I always get a package error code 6 . Something about automation tool? Dont get it, none of the fixes I found works

  • @fernandodesa952
    @fernandodesa952 5 місяців тому

    noob question is the first time im using VS, do i have to always do the set up to every individual project like the naming convention etc ?

    • @NuMakesGames
      @NuMakesGames  5 місяців тому

      For the Unreal integration piece, yes. I generally just copy my .editorconfig file from a previous project.

    • @fernandodesa952
      @fernandodesa952 5 місяців тому +1

      @@NuMakesGames thanks man!!

  • @adventureacademy5958
    @adventureacademy5958 4 місяці тому

    What do you do when you get "Some issues detected in unreal engine configuration" Where does it tell you where the problems are, is there a log file?

    • @NuMakesGames
      @NuMakesGames  4 місяці тому

      I haven't seen that, but the first place I would look is the various tabs in Visual Studio's Output window.

  • @marcooasan1668
    @marcooasan1668 3 місяці тому

    why this one is not in the documentation? or maybe i just scan not read it? xD

  • @zanagi
    @zanagi 3 місяці тому +1

    my project has 5 errors reading unreal engine codes, like
    E0070 incomplete type is not allowed UnrealLearningKit C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Containers\StringView.h 408

  • @aeldron
    @aeldron Місяць тому +1

    As of May 2024 there appears to be no VS Integration Tool for Unreal 5.4. Is it possible to code in VS without the integration tool? My scripts won't even compile?

    • @gal1leo868
      @gal1leo868 27 днів тому

      Did you find a solution?

    • @aeldron
      @aeldron 27 днів тому

      @@gal1leo868 I've rolled back to 5.3.2.

    • @aeldron
      @aeldron 27 днів тому

      But it looks like support for 5.4 has just been released

  • @drale81
    @drale81 4 місяці тому

    When I click 'Generate Visual Studio project files' like you at 6:52, I don't get the .sln file. Only a .code-workspace file. I don't know what i did wrong.

    • @NuMakesGames
      @NuMakesGames  4 місяці тому +2

      If you have multiple IDEs installed Unreal will follow your setting in Editor Preferences > General > Source Code > Source Code Editor

  • @UltraCole
    @UltraCole 3 місяці тому

    the Unreal Engine test status wont work? any ideas on why that might be

    • @NuMakesGames
      @NuMakesGames  3 місяці тому

      Could you give me more details on what you're seeing?

    • @UltraCole
      @UltraCole 3 місяці тому

      ​@@NuMakesGames In the Unreal engine configuration tab the unreal engine test adapter statues says that my version visual studio integration tool is out of date when its not. I checked for visual studio updates, reinstalled the unreal integration tool. so im not sure what it could be.

    • @UltraCole
      @UltraCole 3 місяці тому

      this is what the error says. Analyzing Blueprints - Error: There was a problem while running the Unreal Engine integration for the project.

  • @WendlerTV
    @WendlerTV 7 місяців тому

    im literally pogging out of my mind

  • @zeez7777
    @zeez7777 6 місяців тому

    After i close VS and UE5 Editor and then reopen the UE5 Project, i get "The following modules are missing or built with a different engine version" and its listing the name of the project.
    Building the game in VS works and using that small compile button in the editor also compiles.
    I'm so confused whats going on and its really frustrating.

    • @NuMakesGames
      @NuMakesGames  6 місяців тому

      You might need to reselect the correct engine version for your project. I believe there’s an option in the right click context menu on the project file.

    • @zeez7777
      @zeez7777 6 місяців тому

      @@NuMakesGames Ive installed 5.2.1 and the problem doesnt happen anymore. It's weird though it was the third person template with c++ selected with 0 modifications otherwise, that kept showing the error on 5.3.x. Anyway thanks for the tip with the context menu version change, ill try to remember that for when i need it.

  • @gabrielchcosta
    @gabrielchcosta 24 дні тому

    3:11 wait what? Editor symbols for debugging? 80 gigs?

  • @AniReactz
    @AniReactz Місяць тому

    use the integration tool in 5.4 :(

  • @F4ILS4FE_GAMING
    @F4ILS4FE_GAMING 4 місяці тому

    I don't have the option under the step at 6:50, I right click the .uproject and it's just Open with, Share with Skype, Scan with Microsoft Defender, Share, Restore Previous Versions, Send To, Cut, Copy, Create Shortcut, Delete, Rename, and Properties ONLY. There is no option to Generate Visual Studio project files. Every other step I completed successfully.
    What else do I need to do?

    • @NuMakesGames
      @NuMakesGames  4 місяці тому +2

      If you are on Windows 11 you might need to click through the Show More Options button.

    • @F4ILS4FE_GAMING
      @F4ILS4FE_GAMING 4 місяці тому +1

      ​@@NuMakesGames Your Walkthrough got ALL the issues I was having with the Unreal Engine Integration Configuration fixed. All Green, Thankyou!
      Now if I can get this buggy tool to stop showing errors. I'm running the Third Person Project base and can't even get the basic barebones to Build without errors. Running it in C++ rather than Blueprints is proving to be quite the headache/challenge. Tempted to just go with Blueprints. I'll poke around, thanks again!

  • @juliodiaz4891
    @juliodiaz4891 2 місяці тому

    Thank you for the post you are a life saver. Your video showed me exactly what I need to do in fast and easy steps. I deserved a like and subscribe.

  • @lunarpooch4398
    @lunarpooch4398 5 місяців тому +1

    i apprentice you dawg

  • @ripkowai
    @ripkowai 2 місяці тому

    For some reason when I F5 I get an error that prevents me from starting the project.

    • @NuMakesGames
      @NuMakesGames  2 місяці тому

      What’s the error?

    • @ripkowai
      @ripkowai 2 місяці тому

      @@NuMakesGames Interesting enough, i figured out that all the errors were pooping after i create an actor from unreal engine and then try to run Visual studio. Then i figured out that I needed to go to the files and open the visual studio from there and then F5 which then started Unreal and the rest worked fine.

    • @NuMakesGames
      @NuMakesGames  2 місяці тому

      @@ripkowai after adding a new file you need to regenerate the solution file and reopen. Usually the regenerate happens automatically and you will be prompted by VS to reload the project, if it’s already running.

  • @Seasmoke
    @Seasmoke 7 місяців тому

    🍿

  • @replansword
    @replansword 4 місяці тому +1

    Worst tutorial you are going way to fast if anybody is reading this skip this video and pick any other

    • @NuMakesGames
      @NuMakesGames  4 місяці тому

      Sorry to hear that. Let me know if anything needs clarification!

    • @replansword
      @replansword 4 місяці тому

      @@NuMakesGames Excuse me i will get back to you about it i gtg
      dont take it personnaly

    • @replansword
      @replansword 4 місяці тому

      @@NuMakesGames what do we do to open in 6:51

    • @replansword
      @replansword 4 місяці тому

      @@NuMakesGames and if you can make a new video

    • @NuMakesGames
      @NuMakesGames  4 місяці тому

      @@replansword for that timestamp just open Windows Explorer and navigate to the location you selected when creating the project

  • @thechoppa22
    @thechoppa22 6 місяців тому

    Thanks for your video, but i followed your video step by step, and when i wanna F5 LyraStarterGame proyect, i got like 2.500 errores like this: Severity Code Description Project File Line Suppression State Details
    Error NU1202 Package OpenTracing 0.12.1 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package OpenTracing 0.12.1 does not support any target frameworks. EpicGames.Perforce.Managed C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Perforce.Managed\EpicGames.Perforce.Managed.csproj 1
    Error NU1202 Package Microsoft.Extensions.ObjectPool 6.0.8 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.Extensions.ObjectPool 6.0.8 does not support any target frameworks. EpicGames.Perforce.Managed C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Perforce.Managed\EpicGames.Perforce.Managed.csproj 1
    Error NU1202 Package Microsoft.Extensions.Logging 6.0.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.Extensions.Logging 6.0.0 does not support any target frameworks. EpicGames.Perforce.Managed C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Perforce.Managed\EpicGames.Perforce.Managed.csproj 1

    • @NuMakesGames
      @NuMakesGames  6 місяців тому

      Hrm. It sounds like your version of the project is targeting a different version of .NET. If you relaunch the Visual Studio installer you should be able to add it.

    • @thechoppa22
      @thechoppa22 6 місяців тому

      @@NuMakesGames add what exactly? What I'm missing? I started installation from scratch

    • @NuMakesGames
      @NuMakesGames  6 місяців тому +1

      @@thechoppa22 Do you have .NET installed (In the video I got it from the ".NET desktop development" workload checkbox)? From my current installation, I have the following individual components for .NET:
      - .NET 8.0 Runtime
      - .NET Framework 4.6.2 targeting pack
      - .NET Framework 4.7.2 targeting pack
      - .NET Framework 4.8 SDK
      - .NET Framework 4.8 targeting pack
      - .NET SDK
      With this configuration, I just setup the latest version of Lyra on UE 5.3, set LyraStarterGame to the starter project, and confirmed that F5 on Development Editor builds and launches as expected.
      Hope this helps!

    • @thechoppa22
      @thechoppa22 6 місяців тому

      I just check it and yes, i have all those installed...@@NuMakesGames

    • @thechoppa22
      @thechoppa22 6 місяців тому

      i just realise that all those errors coming from all C# projects like AutomationTool & UnrealBuildTool.. etc, but i still can't figure it out@@NuMakesGames

  • @pumpkinpeen5937
    @pumpkinpeen5937 2 місяці тому

    At 7:34 I don't have the option to select Unreal toolbar, how do you get this? I installed the configuration for unreal engine in visual studio and have everything correctly ticked but this option isn't there for me

    • @NuMakesGames
      @NuMakesGames  2 місяці тому

      You need to install the plugin mentioned at 5:15.

    • @pumpkinpeen5937
      @pumpkinpeen5937 2 місяці тому +1

      @@NuMakesGamesI’m stupid. Thank you for the quick reply!