# Failed to generate project model definition files

**URL:** <https://forums.unrealengine.com/t/failed-to-generate-project-model-definition-files/1237884>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [July 23, 2023, 8:11pm UTC](https://forums.unrealengine.com/t/failed-to-generate-project-model-definition-files/1237884 "2023-07-23T20:11:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![HongPong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HongPong](https://forums.unrealengine.com/u/HongPong)\
**Post date:** [December 15, 2024, 6:10pm UTC](https://forums.unrealengine.com/t/failed-to-generate-project-model-definition-files/1237884/3 "2024-12-15T18:10:18Z")

</div>

I found that this patch for the UnrealBuildTool was able to unstick the process - be sure to check the log it generates just in case.

> [@\[UBT Bug\] No longer able to compile plugins in standalone since 5.3](https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659/11):
>
> Hacking around I managed to both a) identify the problem plugins, and b) make the build tool immune to this crash. Open C:\Program Files\Epic Games\UE\_5.4\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.sln in Visual Studio Make Configuration/ModuleRules.cs writable Find the IsValidForTarget method Replace the first line of code with the code below. Compile with Build → Build Solution (make sure it completes ok and says it’s updated the C:\Program Files\Epic Games\UE\_5.4\Engine\Binaries…

As noted check “C:\Users\__yourusername_\_\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4” or similar folder for the .txt file with the long name.

---

_[View the full topic](https://forums.unrealengine.com/t/failed-to-generate-project-model-definition-files/1237884)._
