# Is ugc plugin for unreal 5 working?

**URL:** <https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 27, 2022, 5:40am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780 "2022-04-27T05:40:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![DomusLudus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/domusludus/32/1215140_2.png) [@DomusLudus](https://forums.unrealengine.com/u/DomusLudus)\
**Post date:** [April 27, 2022, 5:40am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/1 "2022-04-27T05:40:00Z")

</div>

Before downloading all the source and compiling, I would like to know if it works. 😅  
Someone has tried?

---

<div class="post-metadata">

**Author:** ![n00b\_013](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/n00b_013/32/631138_2.png) [@n00b\_013](https://forums.unrealengine.com/u/n00b_013)\
**Post date:** [May 4, 2022, 9:44am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/2 "2022-05-04T09:44:45Z")

</div>

Bump, same question here.

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [July 26, 2022, 10:32am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/3 "2022-07-26T10:32:01Z")

</div>

Hi.

No, it doesn’t work.  
A lot of things and engine internal APIs, it uses, have changed in UE5.

However, since I want to use it for our own UE5 based project, myself, I am currently trying to fix everything and make it work with UE5 - making decent progress so far 🙂

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [September 22, 2022, 6:47pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/4 "2022-09-22T18:47:12Z")

</div>

Hi, I’d also like to use UGC in UE5 any update on getting this to work?

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [September 22, 2022, 7:35pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/5 "2022-09-22T19:35:07Z")

</div>

Hi!

Actually, yes - I pretty much got everything that worked on UE4 working on UE5, by now. 😃

I just need to find some time to clean up some mess I created during porting and testing out stuff, lol, and then I push it all to GitHub.

I also have plans to keep working on this, like changing the UAT commands for packaging the mods, so a source build of the engine isn’t needed anymore and a few more ideas I wanna try to implement.

Though, one thing I spent a lot of time researching and haven’t found any solution yet, is how to get C++ code built and packaged into mods, so far it only works for BP only mods (it’s like this on the original UE4 SimpleUGC, as well, but that’s really something I’d love to be able to add…).

---

<div class="post-metadata">

**Author:** ![n00b\_013](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/n00b_013/32/631138_2.png) [@n00b\_013](https://forums.unrealengine.com/u/n00b_013)\
**Post date:** [September 25, 2022, 8:33pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/6 "2022-09-25T20:33:06Z")

</div>

Can’t wait to see how you did it and use your github repo for ugc in ue5 ❤

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [September 26, 2022, 10:32am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/7 "2022-09-26T10:32:54Z")

</div>

> [@Hellcat](#):
>
> ave plans to keep working on this, like changing the UAT commands for packaging the mods, s

You rock! Let me know if you have a Patreon or something similar where I can show gratitude.

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [September 27, 2022, 1:43pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/8 "2022-09-27T13:43:24Z")

</div>

Aw, you’re too nice to me 😊  
But actually… I don’t have any of that 😬

BUT, what I do have now, is a GitHub link:  
[https://github.com/TheHellcat/UE5-SimpleUGC/tree/main](https://github.com/TheHellcat/UE5-SimpleUGC/tree/main)  
_(the usual applies: “you need engine source access to be able to access this repo”)_

^ that’s my current version of the SimpleUGC plugin and sample project for UE5 - please consider this still to be highly “work in progress”, but I just tried it out and it seems I haven’t broken anything in the prep for the push.

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [September 28, 2022, 9:20am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/9 "2022-09-28T09:20:48Z")

</div>

Very much appreciated. I have been holding back from migrating my project from 4.26 to 5.0. Seems like I can finally give it a shot.

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [September 28, 2022, 11:49am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/10 "2022-09-28T11:49:25Z")

</div>

Cool 🙂

If something doesn’t work, let me know and I’ll try to fix it.

---

<div class="post-metadata">

**Author:** ![windlox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windlox](https://forums.unrealengine.com/u/windlox)\
**Post date:** [October 31, 2022, 12:35pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/11 "2022-10-31T12:35:45Z")

</div>

Hi hellcat, When I followed your github instructions and started compiling Automation Tool, I got an error on my Visual stuido:

```auto
1>------ Build started: Project: SimpleUGC.Automation, Configuration: Development Any CPU ------
2>------ Build started: Project: Turnkey.Automation, Configuration: Development Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1718,5): error : Project 'F:\Work\JOB\UnrealEngine503\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj' targets 'netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.2'.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1718,5): error : Project 'F:\Work\JOB\UnrealEngine503\Engine\Source\Programs\AutomationTool\Scripts\AutomationScripts.Automation.csproj' targets 'netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.2'.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1718,5): error : Project 'F:\Work\JOB\UnrealEngine503\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj' targets 'netcoreapp3.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.6.2'.
2>Turnkey.Automation -> F:\Work\JOB\UnrealEngine503\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Turnkey\Turnkey.Automation.dll
3>------ Build started: Project: AutomationTool, Configuration: Development Any CPU ------
3>CSC : error CS0006: Metadata file 'F:\Work\JOB\UnrealEngine503\Engine\Engine\Binaries\DotNET\AutomationScripts\SimpleUGC.Automation.dll' could not be found
3>Done building project "AutomationTool.csproj" -- FAILED.

```

Can you help me point out where I’m going wrong? I have tried VS2022 and VS2019 on different computers and both encountered this error reported.

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [October 31, 2022, 3:48pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/12 "2022-10-31T15:48:40Z")

</div>

Getting the same error ☹ Seems like Target Framework changed for Automation Tool in UE5 from **.NET Framework 4.6.2** to **.NET Core 3.1** and you can not easily change that it seems

---

<div class="post-metadata">

**Author:** ![windlox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windlox](https://forums.unrealengine.com/u/windlox)\
**Post date:** [November 1, 2022, 3:17am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/13 "2022-11-01T03:17:51Z")

</div>

OMG I am not alone!

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [November 2, 2022, 2:36pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/14 "2022-11-02T14:36:03Z")

</div>

Hey guys 🙂

Yeah, I thought that was fixed, obv. it wasn’t :-/

Anyways, a quick workaround to this is, to just use a “normal” build from the engine, and not building an own one with the UAT extension (or delete the UAT extension if you need to build your own engine for other reasons).

The only thing this will affect is the “Package Mod” option in the editor - it’ll just not do anything, then, but everything else will work, incl. testing mods from the editor, so you should be able to continue your work, at least.

My plan is to replace the UAT call “Packege Mod” makes with ones that work with vanilla/unmodified UAT and therefore removing the need for a sourcebuild of the engine alltogether, which will get rid of this problem.

Just need to find some time to sneak away from work to implement it, I’m fairly confident I found a set of nicely working UAT calls.

Sorry for the troubles.

---

<div class="post-metadata">

**Author:** ![Hellcat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellcat/32/465577_2.png) [@Hellcat](https://forums.unrealengine.com/u/Hellcat)\
**Post date:** [November 3, 2022, 12:23pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/15 "2022-11-03T12:23:24Z")

</div>

**UPDATE:**

I just pushed an update into the “main” branch, this now gets completely rid of the UAT scripts, i.e. **no engine source build required, anymore** - I replaced the “PackageUGC” call to the custom UAT script with a “BuildCookRun” one that UAT offers out-of-the-box.

This also gets rid of the above mentioned compiler error - as you don’t have anything to compile, anymore 🙂

Only downside is, now you don’t get a ZIP, but a folder containing the mod that you can copy/move into a standalone build of the original project and/or just ZIP for uploading or w/e.

---

<div class="post-metadata">

**Author:** ![windlox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windlox](https://forums.unrealengine.com/u/windlox)\
**Post date:** [November 6, 2022, 8:16am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/16 "2022-11-06T08:16:06Z")

</div>

Huge thaks! gona try now!

---

<div class="post-metadata">

**Author:** ![AoiGhost](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AoiGhost](https://forums.unrealengine.com/u/AoiGhost)\
**Post date:** [November 18, 2022, 11:26am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/17 "2022-11-18T11:26:05Z")

</div>

Sweet, that’s awesome

---

<div class="post-metadata">

**Author:** ![j05hau](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/j05hau/32/1130911_2.png) [@j05hau](https://forums.unrealengine.com/u/j05hau)\
**Post date:** [December 4, 2022, 2:35am UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/18 "2022-12-04T02:35:52Z")

</div>

Wowie this is incredible and you are a wizard, thank-you so much for sharing this with the community! Mind blown what a fantastic job

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [January 14, 2023, 3:25pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/19 "2023-01-14T15:25:31Z")

</div>

Anyone got this working? @Hellcat Trying to compile the project for 5.1 and get this error:

```auto
1>B:\GITHUB\UE5-SimpleUGC\Plugins\SimpleUGC\Source\SimpleUGCEditor\Private\SimpleUGCPackager.cpp(173): error C2664: 'void IUATHelperModule::CreateUatTask(const FString &,const FText &,const FText &,const FText &,const FSlateBrush *,const TArray<FAnalyticsEventAttribute,FDefaultAllocator> *,IUATHelperModule::UatTaskResultCallack,const FString &)': cannot convert argument 6 from 'FSimpleUGCPackager::PackagePlugin::<lambda_04bd8b0a342317cf58f95f8d8fe257d6>' to 'const TArray<FAnalyticsEventAttribute,FDefaultAllocator> *'
1>B:\GITHUB\UE5-SimpleUGC\Plugins\SimpleUGC\Source\SimpleUGCEditor\Private\SimpleUGCPackager.cpp(182): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

```

Caused by this code:

```auto
	IUATHelperModule::Get().CreateUatTask(CommandLine, PlatformName, PackagingText,
	                                      PackagingText, FSimpleUGCEditorStyle::Get().GetBrush(TEXT("SimpleUGCEditor.PackageUGCAction")),
	                                      [ReleaseVersion, PlatformName, FriendlyName, OutputDirectory, StagePath, StagePathPackedMod]
                                      (FString TaskResult, double TimeSec)
	                                      {
		                                      // move the actual mod files into the requested output dir and cleanup the staging area
		                                      IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
		                                      PlatformFile.CopyDirectoryTree(*OutputDirectory, *StagePathPackedMod, true);
		                                      PlatformFile.DeleteDirectoryRecursively(*StagePath);
	                                      });

```

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/a/5dafec428b81eade23e84109a5bbfb43b528e944.png)

---

<div class="post-metadata">

**Author:** ![hGosling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hGosling](https://forums.unrealengine.com/u/hGosling)\
**Post date:** [January 14, 2023, 5:29pm UTC](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780/20 "2023-01-14T17:29:47Z")

</div>

Okay, I just downloaded UE5.03 and tried to compile your plugin and it worked. So it seems that something changed in UE5.1 which breaks your code ☹

[Next page](https://forums.unrealengine.com/t/is-ugc-plugin-for-unreal-5-working/540780.md?page=2)
