# \[UBT Bug\] No longer able to compile plugins in standalone since 5.3

**URL:** <https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, ubt, Plugins\
**Created:** [October 1, 2023, 11:57am UTC](https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659 "2023-10-01T11:57:54Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![dpotuznik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dpotuznik](https://forums.unrealengine.com/u/dpotuznik)\
**Post date:** [May 14, 2025, 4:41pm UTC](https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659/17 "2025-05-14T16:41:34Z")

</div>

Thanks for your solution .. it work here the code for unreal 5.3

```auto
	IEnumerable<TargetType> SupportedTargetTypes = new TargetType[] { };
	InvalidReason = string.Empty;

	try
	{
		SupportedTargetTypes = ModuleType
			.GetCustomAttributes<SupportedTargetTypesAttribute>()
			.SelectMany(x => x.TargetTypes)
			.Distinct();
	}
	catch
	{
		string moduleName = (ModuleType != null) ? ModuleType.Name : "<null>";
		InvalidReason = $"TargetType '{TargetRules.Type}' : Failed to get SupportedTargetTypesAttribute from '{moduleName}'";
		return false;
	}

```

Have a nice day

---

_[View the full topic](https://forums.unrealengine.com/t/ubt-bug-no-longer-able-to-compile-plugins-in-standalone-since-5-3/1318659)._
