Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Every time I try to create a "Code Project" the "UnrealBuildTool" crashes with this log: Failed to generate project files. Log output: Failed to generate project files. Log output: Running C:/Program Files/Unreal Engine/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Jaden/Documents/Unreal Projects/TestProject/TestProject.uproject" -game -rocket -progress Discovering modules, targets and source code for game...

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at UnrealBuildTool.FileItem..ctor(String FileAbsolutePath)
at UnrealBuildTool.DependencyCache.Create(String CachePath)
at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments)
at UnrealBuildTool.ProjectFileGenerator.GenerateIntelliSenseData(String[] Arguments, List`1 TargetFiles)
at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String[] Arguments, Boolean& bSuccess)
at UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator Generator, String[] Arguments)
at UnrealBuildTool.UnrealBuildTool.Main(String[] Arguments)

author: internet việt nam
Have a nice day.
Posted
Comments
Sergey Alexandrovich Kryukov 17-Mar-15 6:58am    
Excuse me, what's the use of sending exception stack without the sample of the code throwing this exception?
I can see that this is thrown inside UnrealBuildTool, but still it does not give us the steps to reproduce the problem.
If there is a defect in this project, it can be manifested with some particular set of parameters, call sequence, etc.
—SA
BacchusBeale 17-Mar-15 16:42pm    
Look here https://answers.unrealengine.com/questions/169163/unrealbuildtool-fails-when-creating-c-projects.html. Maybe you need to run as admin?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900