# \[UBT\] Unable to generate project files in after updating to 5.4

**URL:** <https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, ubt, bug-report\
**Created:** [April 30, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197 "2024-04-30T14:41:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omniac](https://forums.unrealengine.com/u/Omniac)\
**Post date:** [April 30, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/1 "2024-04-30T14:41:53Z")

</div>

I’ve recently updated from UE5.3 to UE5.4, and I’ve had a bunch of issues with my project, one of which is that I can not re-generate my project at all using UBT. Everytime I try, I get this error:

```auto
Exception while generating include data for UnrealEditor: System.ArgumentNullException: Value cannot be null. (Parameter 'element')
   at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[T](MemberInfo element)
   at UnrealBuildTool.ModuleRules.IsValidForTarget(Type moduleType, ReadOnlyTargetRules targetRules, String& invalidReason) in D:\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Configuration\ModuleRules.cs:line 1636
   at UnrealBuildTool.UEBuildTarget.AddAllValidModulesToTarget(ILogger Logger) in D:\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3938
   at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in D:\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3403
   at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in D:\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1392
   at UnrealBuildTool.ProjectFileGenerator.<>c __DisplayClass87_0.<GenerateIntelliSenseData>b__ 0(Int32 TargetIndex) in D:\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 2165

```

It seems this was an issue after this commit in UE5.3:  
[https://github.com/EpicGames/UnrealEngine/commit/22d71006f092da479968514f8b71a9767254a845#diff-e484445152abd3e9249a4eac7efe106748d8978f3dea2256314cf9dbc01de920](https://github.com/EpicGames/UnrealEngine/commit/22d71006f092da479968514f8b71a9767254a845#diff-e484445152abd3e9249a4eac7efe106748d8978f3dea2256314cf9dbc01de920)

A lot of the other posts I’ve seen about this have been for plugins, such as this one:

> [@\[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):
>
> Hey all! Since 5.3, UBT crashes when compiling plugins in standalone mode (i.e. not part of a project). Here’s the build command used to repro: dotnet "\<PathToEngine\>\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -plugin=\<PathToPlugin\>\\<PluginName\>.uplugin Here’s repro’s log: Using user-specified engine root: z:\Unreal\UE\_5.3 Using bundled DotNet SDK version: 6.0.302 Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\Un…

But for me it’s for my entire project, and I can’t figure out for the life of me why this is happening.

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Omniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omniac](https://forums.unrealengine.com/u/Omniac)\
**Post date:** [April 30, 2024, 10:55pm UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/2 "2024-04-30T22:55:02Z")

</div>

bump ^

---

<div class="post-metadata">

**Author:** ![Omniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omniac](https://forums.unrealengine.com/u/Omniac)\
**Post date:** [May 1, 2024, 10:31pm UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/3 "2024-05-01T22:31:11Z")

</div>

man really no replies

---

<div class="post-metadata">

**Author:** ![Omniac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Omniac](https://forums.unrealengine.com/u/Omniac)\
**Post date:** [May 2, 2024, 12:36am UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/4 "2024-05-02T00:36:54Z")

</div>

Resloved this issue.

I had some plugins in my engine plugin folder that had incorrect build.cs files which were causing the error with UBT. After removing them from the engine plugin folder I am now able to correctly use UBT.

---

<div class="post-metadata">

**Author:** ![Kazzak.C](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kazzak.C](https://forums.unrealengine.com/u/Kazzak.C)\
**Post date:** [June 16, 2024, 9:02pm UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/5 "2024-06-16T21:02:57Z")

</div>

你是对的兄弟，我也是安装了ElectronicNodes，一个让blueprint连接线看起来更像电路的插件，删掉就好了

---

<div class="post-metadata">

**Author:** ![gf2a3kser5fg92lb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gf2a3kser5fg92lb](https://forums.unrealengine.com/u/gf2a3kser5fg92lb)\
**Post date:** [November 30, 2024, 2:06am UTC](https://forums.unrealengine.com/t/ubt-unable-to-generate-project-files-in-after-updating-to-5-4/1833197/6 "2024-11-30T02:06:58Z")

</div>

THANK YOU! This thing has been plaguing me for a long time.
