How to Setup Visual Studio 2022 for Unreal Engine 5

Ғылым және технология

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: kzread.info?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

Пікірлер: 105

  • @Shiick
    @Shiick5 ай бұрын

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

  • @asdrofllmao
    @asdrofllmao2 ай бұрын

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

  • @sayber2th891
    @sayber2th8913 ай бұрын

    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.

  • @autentikum
    @autentikum3 ай бұрын

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

  • @ChrisBakare
    @ChrisBakareАй бұрын

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

  • @LeeGoGo
    @LeeGoGo5 ай бұрын

    very nice, having you back

  • @jacksonkettel7462
    @jacksonkettel746212 күн бұрын

    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!

  • @corey13
    @corey135 ай бұрын

    this was really helpful, thank you!

  • @jahinha
    @jahinha4 ай бұрын

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

  • @dani.sports
    @dani.sports8 күн бұрын

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

  • @jackyasgar8878
    @jackyasgar88783 ай бұрын

    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

    Ай бұрын

    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.

  • @luismendes8238
    @luismendes8238Ай бұрын

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

  • @forecastumbrella1626
    @forecastumbrella162619 күн бұрын

    Thank you, was very helpfull!

  • @evanlane1690
    @evanlane169017 күн бұрын

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

  • @TorQueMoD
    @TorQueMoD2 ай бұрын

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

  • @IsabellaFrancoo
    @IsabellaFrancoo2 күн бұрын

    Excellent tutorial!

  • @Utopia2023Game2
    @Utopia2023Game217 күн бұрын

    SUPER helpful thx

  • @fantasybrick7032
    @fantasybrick7032Ай бұрын

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

  • @99codemister
    @99codemister3 ай бұрын

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

  • @VladyVeselinov
    @VladyVeselinov5 ай бұрын

    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

    2 ай бұрын

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

  • @sujaypuri7287

    @sujaypuri7287

    2 ай бұрын

    It’s called gatekeeping

  • @ryslanxd8787

    @ryslanxd8787

    Ай бұрын

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

  • @mdlsvensson

    @mdlsvensson

    Ай бұрын

    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

  • @Chromixxxx
    @Chromixxxx2 ай бұрын

    thanks for this!

  • @subzero635
    @subzero6353 ай бұрын

    hey sir youre a pro! thanks for the video!

  • @Chuckstarrious
    @Chuckstarrious2 ай бұрын

    Lifesaver, cheers!

  • @Cvusmo
    @Cvusmo4 ай бұрын

    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

  • @bilelbellili3721
    @bilelbellili37215 ай бұрын

    Welcome back!

  • @fahimjaowad8717
    @fahimjaowad8717Ай бұрын

    awsome! saving

  • @Bezayne
    @Bezayne3 ай бұрын

    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Ай бұрын

    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

    Ай бұрын

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

  • @afterediting2688
    @afterediting26885 күн бұрын

    Thanks

  • @whyareless
    @whyareless5 ай бұрын

    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

    5 ай бұрын

    ohh that video was on your other channel 😅

  • @NuMakesGames

    @NuMakesGames

    5 ай бұрын

    kzread.info/dash/bejne/lYWevK-KiNa3fLQ.html Yeah, sorry about that. 😅

  • @willynahc
    @willynahc5 ай бұрын

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

  • @morgenmuffl
    @morgenmuffl4 күн бұрын

    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
    @Nakumotte5 ай бұрын

    UE5 my beloved 😍

  • @YoutubeAccountMan
    @YoutubeAccountMan5 күн бұрын

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

  • @Ehl-ln8gz
    @Ehl-ln8gz5 күн бұрын

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

  • @eivenhoe
    @eivenhoe14 күн бұрын

    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
    @jonasmlgaard88843 ай бұрын

    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

    3 ай бұрын

    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.

  • @marcapouli7805
    @marcapouli780526 күн бұрын

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

  • @astralstormgamestudios1259
    @astralstormgamestudios125910 күн бұрын

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

  • @NuMakesGames

    @NuMakesGames

    10 күн бұрын

    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

    9 күн бұрын

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

  • @WendlerTV
    @WendlerTV5 ай бұрын

    im literally pogging out of my mind

  • @NuMakesGames

    @NuMakesGames

    5 ай бұрын

    lmao

  • @biswajittripathy2786
    @biswajittripathy278624 күн бұрын

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

  • @marcooasan1668
    @marcooasan16682 ай бұрын

    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

    2 ай бұрын

    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: kzread.info/dash/bejne/mJWbj8-Qk5m8nbw.html

  • @user-cy9su1uz9x
    @user-cy9su1uz9x2 ай бұрын

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

  • @amerboss99
    @amerboss995 ай бұрын

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

  • @NuMakesGames

    @NuMakesGames

    5 ай бұрын

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

  • @fernandodesa952
    @fernandodesa9523 ай бұрын

    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

    3 ай бұрын

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

  • @fernandodesa952

    @fernandodesa952

    3 ай бұрын

    @@NuMakesGames thanks man!!

  • @zanagi
    @zanagi2 ай бұрын

    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
    @adventureacademy59583 ай бұрын

    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

    2 ай бұрын

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

  • @lunarpooch4398
    @lunarpooch43983 ай бұрын

    i apprentice you dawg

  • @UltraCole
    @UltraColeАй бұрын

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

  • @NuMakesGames

    @NuMakesGames

    Ай бұрын

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

  • @UltraCole

    @UltraCole

    Ай бұрын

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

    Ай бұрын

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

  • @marcooasan1668
    @marcooasan16682 ай бұрын

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

  • @zeez7777
    @zeez77775 ай бұрын

    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

    5 ай бұрын

    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

    5 ай бұрын

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

  • @drale81
    @drale812 ай бұрын

    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

    2 ай бұрын

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

  • @F4ILS4FE_GAMING
    @F4ILS4FE_GAMING2 ай бұрын

    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

    2 ай бұрын

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

  • @F4ILS4FE_GAMING

    @F4ILS4FE_GAMING

    2 ай бұрын

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

  • @Seasmoke
    @Seasmoke5 ай бұрын

    🍿

  • @juliodiaz4891
    @juliodiaz489116 күн бұрын

    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.

  • @ripkowai
    @ripkowai18 күн бұрын

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

  • @NuMakesGames

    @NuMakesGames

    17 күн бұрын

    What’s the error?

  • @ripkowai

    @ripkowai

    17 күн бұрын

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

    17 күн бұрын

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

  • @replansword
    @replansword2 ай бұрын

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

  • @NuMakesGames

    @NuMakesGames

    2 ай бұрын

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

  • @replansword

    @replansword

    2 ай бұрын

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

  • @replansword

    @replansword

    2 ай бұрын

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

  • @replansword

    @replansword

    2 ай бұрын

    @@NuMakesGames and if you can make a new video

  • @NuMakesGames

    @NuMakesGames

    2 ай бұрын

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

  • @thechoppa22
    @thechoppa224 ай бұрын

    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

    4 ай бұрын

    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

    4 ай бұрын

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

  • @NuMakesGames

    @NuMakesGames

    4 ай бұрын

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

    4 ай бұрын

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

  • @thechoppa22

    @thechoppa22

    4 ай бұрын

    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
    @pumpkinpeen593724 күн бұрын

    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

    24 күн бұрын

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

  • @pumpkinpeen5937

    @pumpkinpeen5937

    24 күн бұрын

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

Келесі