Hello, everyone!
I want some help to solve this ERROR… Can you help me?
I can’t get C++ Template in UE 5.1
(Blueprint Template works very well)
I’m using Unreal 5.1, visual studio 2022.
To fix this, I uninstalled and reinstalled visual studio.
I also installed the latest version of dotnet.
I don’t know what the problem is.
This picture shows the environmental variables of my computer,
the Program Files\dotnet folder,
and the Program Files (x86)\dotnet folder.
I ask for your help…!
Running D:/Epic Games/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project="D:/Epic Games/UE_5.1/PuzzlePlatform/PuzzlePlatform.uproject" -game -rocket -progress
Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -projectfiles -project="D:/Epic Games/UE_5.1/PuzzlePlatform/PuzzlePlatform.uproject" -game -rocket -progress
Log file: C:\Users\redna\AppData\Local\UnrealBuildTool\Log_GPF.txt
Some Platforms were skipped due to invalid SDK setup: IOS, Android, Linux, LinuxArm64.
See the log file for detailed information
Discovering modules, targets and source code for project...
Binding IntelliSense data...
Binding IntelliSense data... 100%
Writing project files...
Writing project files... 0%
Unhandled exception: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at UnrealBuildTool.VCProjectFile.WriteProjectFile(List1 InPlatforms, List1 InConfigurations, PlatformProjectGeneratorCollection PlatformProjectGenerators, ILogger Logger) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs:line 1381
at UnrealBuildTool.ProjectFileGenerator.WriteProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, ILogger Logger) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 2812
at UnrealBuildTool.VCProjectFileGenerator.WriteProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, ILogger Logger) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProjectFileGenerator.cs:line 480
at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, String[] Arguments, ILogger Logger) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 1176
at UnrealBuildTool.GenerateProjectFilesMode.Execute(CommandLineArguments Arguments, ILogger Logger) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 233
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\Epic Games\UE_5.1\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 648