Plugin packaging fails, although game and editor builds fine

Environment: Unreal Engine v5.6 / C++ / 2D project / Mac / Rider

Small section of compiler output showing errors. All this code builds and runs in the editor.

Full log attached.

UBA-UnrealGame-Mac-Development.txt (810.3 KB)

Things I have tried:

  • Turning off all supported platforms so only Mac is supported.
  • Looking for real compile errors or missing module entries

Again all of this works fine, but fails when I package. I package by clicking the button in the editors plugin dialog. That got annoying so I wrote this bash script which does the same thing:

package-plugin.sh (2.6 KB)

Both produce the same errors. Its like the build script suddenly cannot load the engine module.

Any thoughts greatly appreciated.

UATHelper: Package Plugin Task (Mac): /Users/sez/Downloads/AdventureTools/HostProject/Plugins/AdventureTools/Source/Dialog/Public/DialogComponent.h:158:5: error: unknown type name 'FTimerDelegate'; did you mean 'FTickerDelegate'?
UATHelper: Package Plugin Task (Mac):   158 |     FTimerDelegate BarkTimerDelegate;
UATHelper: Package Plugin Task (Mac):       |     ^~~~~~~~~~~~~~
UATHelper: Package Plugin Task (Mac):       |     FTickerDelegate
UATHelper: Package Plugin Task (Mac): /Users/Shared/Epic Games/UE_5.6/Engine/Source/Runtime/Core/Public/Containers/Ticker.h:21:40: note: 'FTickerDelegate' declared here
UATHelper: Package Plugin Task (Mac):    21 | DECLARE_DELEGATE_RetVal_OneParam(bool, FTickerDelegate, float);
UATHelper: Package Plugin Task (Mac):       |                                        ^
UATHelper: Package Plugin Task (Mac): In file included from /Users/sez/Downloads/AdventureTools/HostProject/Plugins/AdventureTools/Intermediate/Build/Mac/arm64+x64/UnrealGame/Development/Dialog/Module.Dialog.cpp:10:
UATHelper: Package Plugin Task (Mac): /Users/sez/Downloads/AdventureTools/HostProject/Plugins/AdventureTools/Intermediate/Build/Mac/UnrealGame/Inc/Dialog/UHT/PromptData.gen.cpp:22:73: error: unknown type name 'FTableRowBase'; did you mean 'FTableRowStyle'?
UATHelper: Package Plugin Task (Mac):    22 | static_assert(std::is_polymorphic<FPromptData>() == std::is_polymorphic<FTableRowBase>(), "USTRUCT FPromptData cannot be polymorphic unless super FTableRowBase is polymorphic");
UATHelper: Package Plugin Task (Mac):       |                                                                         ^~~~~~~~~~~~~
UATHelper: Package Plugin Task (Mac):       |                                                                         FTableRowStyle
UATHelper: Package Plugin Task (Mac): /Users/Shared/Epic Games/UE_5.6/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h:1640:8: note: 'FTableRowStyle' declared here
UATHelper: Package Plugin Task (Mac):  1640 | struct FTableRowStyle : public FSlateWidgetStyle
UATHelper: Package Plugin Task (Mac):       |        ^
UATHelper: Package Plugin Task (Mac): 13 errors generated.

(post deleted by author)

hi , i was able to package this project successfully

i’m on ue-5.9

1 Like

Amazing! Thanks for this. Will try when back from a travel.

Thanks for taking a look at the project!

But looking at the video, this is not the plugin.

As per the title of the post, I’m hoping to find why the plugin I’m trying to create here doesn’t package.

The log file reflects those problems with packaging of the plugin.

Thanks again.