When I try to create a C++ Project in Unreal Engine 5.3.2, it keeps giving me this error window:
Running H:/Unreal Engine/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project="H:/Unreal Engine/Projects/NewProject/NewProject.uproject" -game -rocket -progress
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -projectfiles -project="H:/Unreal Engine/Projects/NewProject/NewProject.uproject" -game -rocket -progress
Log file: C:\Users\John\AppData\Local\UnrealBuildTool\Log_GPF.txt
Some Platforms were skipped due to invalid SDK setup: Android, Linux, LinuxArm64.
See the log file for detailed information
Generating VisualStudio project files:
Discovering modules, targets and source code for project...
Unhandled exception: EpicGames.Core.JsonParseException: Unable to parse H:\Unreal Engine\UE_5.3\Engine\Plugins\Marketplace\MySQL\MySQL.uplugin: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at EpicGames.Core.JsonObject.Read(FileReference file) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\JsonObject.cs:line 98
at UnrealBuildTool.PluginDescriptor.FromFile(FileReference FileName) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\PluginDescriptor.cs:line 365
at UnrealBuildTool.PluginInfo..ctor(FileReference InFile, PluginType InType) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\Plugins.cs:line 107
at UnrealBuildTool.Plugins.ReadPluginsFromDirectory(DirectoryReference RootDirectory, String Subdirectory, PluginType Type) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\Plugins.cs:line 591
at UnrealBuildTool.RulesCompiler.CreateEngineRulesAssembly(Boolean bUsePrecompiled, Boolean bSkipCompile, Boolean bForceCompile, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesCompiler.cs:line 90
at UnrealBuildTool.RulesCompiler.<>c__DisplayClass9_0.<CreateProjectRulesAssembly>b__0(FileReference _) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesCompiler.cs:line 242
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(PlatformProjectGeneratorCollection PlatformProjectGenerators, List`1 AllGames, List`1 AllTargetFiles, String[] Arguments, List`1 EngineProjects, List`1 GameProjects, Dictionary`2 ProjectFileToUProjectFile, Dictionary`2 ProgramProjects, Dictionary`2 RulesAssemblies, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 2711
at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, String[] Arguments, Boolean bCacheDataForEditor, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 1023
at UnrealBuildTool.GenerateProjectFilesMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 65
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
I tried verifying the UE installation in the Epic Games Launcher.
I tried a full re-install of Visual Studio 2022 following the exact steps outlined here: Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.3 Documentation
But I still keep getting the same error.
I have a separate Unreal Engine 5.0.3 installation and it can create new C++ projects just fine.
What is going wrong here?