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: th-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
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @Shiick
    @Shiick 6 หลายเดือนก่อน +5

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

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

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

  • @VladyVeselinov
    @VladyVeselinov 6 หลายเดือนก่อน +27

    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 3 หลายเดือนก่อน +2

      It’s called gatekeeping

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

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

    • @mdlsvensson
      @mdlsvensson 2 หลายเดือนก่อน +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

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

    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 2 หลายเดือนก่อน

      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.

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

    very nice, having you back

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

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

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

  • @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 4 หลายเดือนก่อน

    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.

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

    this was really helpful, thank you!

  • @andcaru
    @andcaru 14 วันที่ผ่านมา

    Thanks a lot, very clear!

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

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

  • @dani.sports
    @dani.sports หลายเดือนก่อน

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

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

    SUPER helpful thx

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

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

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

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

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

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

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

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

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

    Lifesaver, cheers!

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

    Thank you, was very helpfull!

  • @DarthIckus
    @DarthIckus 13 วันที่ผ่านมา

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

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

    thanks for this!

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

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

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

    Welcome back!

  • @Bezayne
    @Bezayne 4 หลายเดือนก่อน +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.

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

    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  2 หลายเดือนก่อน +1

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

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

    Thanks

  • @YoutubeAccountMan
    @YoutubeAccountMan 25 วันที่ผ่านมา +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

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

    awsome! saving

  • @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 หลายเดือนก่อน

    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

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

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

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

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

    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 6 หลายเดือนก่อน

      ohh that video was on your other channel 😅

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

      th-cam.com/video/cQjZMQXsQLQ/w-d-xo.html
      Yeah, sorry about that. 😅

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

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

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

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

  • @Emy-eo8zx
    @Emy-eo8zx 7 วันที่ผ่านมา

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

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

    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 4 วันที่ผ่านมา

    any video on actually setting up the scene?

  • @Ehl-ln8gz
    @Ehl-ln8gz หลายเดือนก่อน

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

  • @dtnguyen277
    @dtnguyen277 8 วันที่ผ่านมา

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

  • @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:
      th-cam.com/video/fag-mWc6VmY/w-d-xo.html

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

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

  • @gabrielchcosta
    @gabrielchcosta 10 วันที่ผ่านมา

    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.

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

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

    UE5 my beloved 😍

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

    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  4 หลายเดือนก่อน

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

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

      @@NuMakesGames thanks man!!

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

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

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

  • @LaynaStambaugh
    @LaynaStambaugh 22 วันที่ผ่านมา +1

    I LOVE your desktop background it's so cozy

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

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

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

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

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

  • @aeldron
    @aeldron 23 วันที่ผ่านมา +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 13 วันที่ผ่านมา

      Did you find a solution?

    • @aeldron
      @aeldron 13 วันที่ผ่านมา

      @@gal1leo868 I've rolled back to 5.3.2.

    • @aeldron
      @aeldron 13 วันที่ผ่านมา

      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 2 หลายเดือนก่อน

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

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

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

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

      ​@@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 2 หลายเดือนก่อน

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

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

    im literally pogging out of my mind

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

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

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

  • @gabrielchcosta
    @gabrielchcosta 10 วันที่ผ่านมา

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

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

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

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

      What’s the error?

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

      @@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  หลายเดือนก่อน

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

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

    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 4 หลายเดือนก่อน +1

    i apprentice you dawg

  • @AniReactz
    @AniReactz 29 วันที่ผ่านมา

    use the integration tool in 5.4 :(

  • @jamiebrannan981
    @jamiebrannan981 16 วันที่ผ่านมา

    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!

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

    🍿

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

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

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

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

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

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

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

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

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

      @@NuMakesGames and if you can make a new video

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

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

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

    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  5 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

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

    • @NuMakesGames
      @NuMakesGames  5 หลายเดือนก่อน +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 5 หลายเดือนก่อน

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

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

      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 หลายเดือนก่อน

    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  หลายเดือนก่อน

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

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

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