How to Setup Visual Studio 2022 for Unreal Engine 5
Vložit
- čas přidán 11. 09. 2024
- 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: www.youtube.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
There's so much that can be automated here, I can't believe we need to do all of this manual setup in 2023...
And having something work without errors baked in the cake. Pretty frustrating.
It’s called gatekeeping
@@Shhgooo I really do not think it was meant to be a gatekeeping, this is just a result
2024, and it looks like we are going backwards...
@@mdlsvensson Why? What about grants for indie projects?
Having worked with UE and VS before, there's so much I didn't know just on the setup, thanks Nu!
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.
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.
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
1:05 I was following this guide today (Sept. 4th 2024) and was not able to find "IDE Support for Unreal Engine". I believe in newer versions it is now called "Visual Studio Tools for Unreal Engine"
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!
Nicely done, couldn't have figured it out without this guide.
At 12:47 the 'Find All Blueprint References' option does not come up for me. I went back and ensured API was there, and the plugins were all enabled, and everything else he did. to this point .. but it still does not show up. Everything else seems to be working but that one popup option. What am I missing?.
I have the same issue
I solved the problem installing the recommended version of Visual Studio for my Unreal Engine version, in my case I use UE 5.4 so my VS recommended version is 17.8. You can search on the internet which version is appropriate for you. Apart from that, it is not straightforward to install a specific version of VS that is different from the latest, for that reason I recommend you to search on Google: "How to install specific version of Visual Studio 2022" and click the first StackOverflow link, in that link there is an answer where they show a command that you have to run so that you can install a specific version of VS.
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. 💪
Came because build was finicky once, left with much more tools that I didn't know I needed. Thanks
"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."
Hey! Future Marcus! You're awesome! Thanks for putting this together! My UE coding is actually working correctly now!
very nice, having you back
Thanks for the great video.
With regards to *Visual Studio Integration tool* and *As of Visual Studio 2022 version 17.9, you no longer need this plugin to view information about Blueprints in C++ code.*
But doesn't it do other things besides that?
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
Sem here
Thanks for the tutorial, thanks to you this engine is finally working
Bookmarking this for later. You are awesome good sir! I hope I get to sit next to you and pick your brain some day :)
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.
Top tier content, keep the good work!
I LOVE your desktop background it's so cozy
Thanks for the help! You saved me many hours of pulling what's left of my hair out.
this was really helpful, thank you!
Awesome guide, thx
I love your background - where did you find it ?
Thanks so much for this fantastic video! Much appreciated :)
Thank you very much!!! another important lesson learned!!!
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.
Insanely helpful!
Thanks for tutorial and the UE 5 tips! Helped a lot
You are the best!
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.
Thanks for the feedback! Will try to be more mindful of where that UI is next time.
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?
Did you find a solution?
@@gal1leo868 I've rolled back to 5.3.2.
But it looks like support for 5.4 has just been released
Excellent tutorial!
Thanks
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.
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.
Welcome back!
Thanks a lot, very clear!
One doubt ..In unreal 5 the downloaded blueprint class files are not opening in viewport...is it cause of visual studio
Excellent Video! Can you update the Video for UE5, pleeeease ?😁
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!
any video on actually setting up the scene?
Thank you, was very helpfull!
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.
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
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 💩
Lifesaver, cheers!
Hey @NuMakesGames,
Do u by any chance have a way to show how to set up the hlsl support?
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!
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?
SUPER helpful thx
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
Hi, how can i add folder through solution explorer instead of add filter?
Can you post your other settings in VS? Specifically how you got the collapsing boxes with + and - back. I hate their little arrows.
I'm having trouble getting my UBT to create DebugGame configuration I only get Development. Wondering if anyone knows why
when i try to create a project i get this:
LINK : fatal error LNK1181: cannot open input file 'delayimp.lib'
6:10 I dont have plugins
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...
I don't even work with UE or VS but this was oddly entertaining
Can you upload a video on step by step process android game devlopment process using unreal engine 5 c++
3:11 wait what? Editor symbols for debugging? 80 gigs?
When you debug can you use an already open unreal editor instead of it always opening a new one?
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.
thank you
awsome! saving
Bro I installed the same packages that you choose from beginning of the video but it was 25GB why?
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 :')
ohh that video was on your other channel 😅
czcams.com/video/cQjZMQXsQLQ/video.html
Yeah, sorry about that. 😅
use the integration tool in 5.4 :(
UE5 my beloved 😍
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
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:
czcams.com/video/fag-mWc6VmY/video.html
what if you want to use sdk for android, shall i check mobile development with C++ and multi platform ui app development?
Yeah, you can add on the mobile development components. You can also add/remove piece on demand by relaunching the Visual Studio Installer.
the Unreal Engine test status wont work? any ideas on why that might be
Could you give me more details on what you're seeing?
@@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.
this is what the error says. Analyzing Blueprints - Error: There was a problem while running the Unreal Engine integration for the project.
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?
I haven't seen that, but the first place I would look is the various tabs in Visual Studio's Output window.
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.
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.
@@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.
how to open that "Unreal Engine Integration Configuration" menu?
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.
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.
If you have multiple IDEs installed Unreal will follow your setting in Editor Preferences > General > Source Code > Source Code Editor
why this one is not in the documentation? or maybe i just scan not read it? xD
Hi! Does this video apply also if you package a game from the editor ?
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.
@@NuMakesGames I always get a package error code 6 . Something about automation tool? Dont get it, none of the fixes I found works
80gb for debug?????? wtf!
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 ?
For the Unreal integration piece, yes. I generally just copy my .editorconfig file from a previous project.
@@NuMakesGames thanks man!!
For some reason when I F5 I get an error that prevents me from starting the project.
What’s the error?
@@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.
@@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.
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?
If you are on Windows 11 you might need to click through the Show More Options button.
@@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!
i apprentice you dawg
Do we need this to package a game
thats what im also tryna figure out
im literally pogging out of my mind
lmao
🍿
im dreaming
Worst tutorial you are going way to fast if anybody is reading this skip this video and pick any other
Sorry to hear that. Let me know if anything needs clarification!
@@NuMakesGames Excuse me i will get back to you about it i gtg
dont take it personnaly
@@NuMakesGames what do we do to open in 6:51
@@NuMakesGames and if you can make a new video
@@replansword for that timestamp just open Windows Explorer and navigate to the location you selected when creating the project
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
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.
@@NuMakesGames add what exactly? What I'm missing? I started installation from scratch
@@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!
I just check it and yes, i have all those installed...@@NuMakesGames
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
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
You need to install the plugin mentioned at 5:15.
@@NuMakesGamesI’m stupid. Thank you for the quick reply!
thanks for this!