My VS did an update and now I can no longer compile in unreal engine, even if I create a brand new project I get an error saying “Unhandled exception for the gamemodebase .gen .cpp .json version “1.2” isn’t supported”
I googled “Unhandled exception for the gamemodebase .gen .cpp .json version 1.2 isn’t supported” and came across this thread
It looks like some have had luck with that workaround.
Hope that helps!
I tried what he did, copy and pasted it, and then VS errors when I attempt to rebuild the project
<?xml version="1.0" encoding="utf-8" ?> <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> <WindowsPlatform> <Compiler>VisualStudio2022</Compiler> <CompilerVersion>14.30.30705</CompilerVersion> </WindowsPlatform> </Configuration>
• 14.29.30133: MSVC v142 - VS 2019 C++ v14.29-16.11
• 14.30.30705: MSVC v143 - VS 2022 C++ v14.30-17.0
• 14.31.31103: MSVC v143 - VS 2022 C++ v14.31-17.1
Make sure you install a correct compiler.
Here you go @shotty46290
Edit: So it’s not simple, you may also get a Patch error so delete your intermediate folder in your project (and if you’re using any plugin delete the intermediate folder from it too).
Then generate visual studio files.
You’ll only be able to fix the patch error if you launch a project using “run without debugger” in visual studio. That should help