Up until recently I’ve been making a project via blueprints (Started recently and it’s very user-friendly). But now I’m delving into more complex code so I’m forced to migrate the project to C++.
I’ve installed the necessary plugins and files to make unreal work with Visual Studio 2022. The problem comes due to the fact that all code-related terms are shown as “Incorrect” or with some typo. Even though all I did at the moment is create a new class via Unreal.
I have the Integration Tools, created the .editorconfig file, installed the HLSL plugin, everything that the “Integration Configuration” window was asking but it still doesn’t work.
Also, a “Live code” window appears in UE and it says that the “Build Failed”, are these two problems connected? Or 2 separate things?
In addition to my suggestions in this post under your other related topic, here are some steps to resolve this issue if it persists after you implement those suggestions:
Verify the correct engine version from Epic Launcher
Make sure that the the Visual Studio Integration Tool plugin is installed to the correct engine version and the plugin is enabled in your project
From VS, navigate to Tools > Get Tools and Features, and from the Modifying window that pops up, check if the .NET desktop development, Desktop development with C++, Game development with C++, and Universal Windows Platform development workloads are selected. (The last one won’t show up on VS 2022 17.12 but will on 17.8. As I explained in my post I left here as reference, you might wanna use that version of VS with UE 5.4, which you mentioned as the engine version you’re using in your other recent post)
Hopefully most of your issues will be gone once you complete these steps correctly, but there’ll most likely be one last warning about a certain Microsoft extension package which does have a fix, so let me know if you manage to reach that part
Ok, got the 17. version working with all the workflows you said, also checked and the VS integration tool is in the correct version of UE (5.4.4) but it still shows the same problems…
this appeared in the Output bar, does this have any connection with the problem I’m having?
Let’s confirm you’ve performed all of the troubleshooting steps correctly. Can you share screenshots showing:
You pressed the verification button which can be accessed by expanding the arrow icon on your installed engine version in the Epic Launcher
The window that pops up when you click on that “Installed Plugins” button under your engine version
The Visual Studio Integration Tools plugin is enabled for your project which can be seen from Edit > Plugins
Also, do you encounter the same issue on new projects as well? If not, you might consider migrating all of your assets into a new blank project, like I suggested in my referenced post. But I think it shouldn’t work for new projects either, because it seems like it’s just an issue that arises from the incomplete steps I included above.
Verified via the launcher, it did it’s thing, no error message, no warning, nothing (Don’t rly know how do I show this via screenshot lol)
about the Integration tool in the plugins… I can’t open the project at all, it displays that “rebuild manually” message, is there a way to check/add that externally?
Yep, you can right click on your .uproject file, open it with a text editor, and change the line under "Name": "VisualStudioTools", from "Enabled": false, to "Enabled": true,
Created both a new empty project and migrated the assets from my main project and an empty one (just the class and the starter stuff),
In both cases the same “error” appeared. At this point I might learn C++ from the ground up and remake the game in C++
I waited a little before responding because you said you were gonna post a video showcasing you’ve completed the troubleshooting steps correctly.
Now, if you also encounter the same error message about VS integration on your fresh C++ projects even after you’ve confirmed that the correct engine version is verified, all of the necessary packages are installed on VS, the integration tools plugin is installed on your correct engine version and is enabled in your project, you might consider reinstalling VS and Unreal.