#If i use a Delegate input for a function

1 messages · Page 1 of 1 (latest)

late raptor
#

What does the error say?

frigid flare
#

I'm checking it now

#

No error log. It just says "ERROR" 😄

late raptor
#

Without pressing compile, go to "Window" at the top and check for "Compiler Results"

#

Not sure it's actually there, but that is the window that is usually at the bottom

#

That should have an error in it

frigid flare
#

Checking

#

I have checked output log, and it says something about delegate

#

(SENDED NEW ONE)

late raptor
#

Hm, is this a C++ function or a BP one?

#

It seems like the node can't figure out the delegate type properly

frigid flare
#

Blueprint

#

Sorry, i didnt send half of log

#

`LogBlueprint: Error: [AssetLog] C:\Users\Akiff\Documents\Unreal Projects\Inventory\Content\INVENTORY\Widgets\WB_InventorySlot.uasset: [Compiler] Create Event : unable to determine expected signature - is the delegate pin connected?

LogBlueprint: Error: [AssetLog] C:\Users\Akiff\Documents\Unreal Projects\Inventory\Content\INVENTORY\Widgets\WB_InventorySlot.uasset: [Compiler] Could not find an event-dispatcher named "OnActionClicked" in 'WB_ItemMenu_C'.
Make sure 'WB_ItemMenu_C' has been compiled for Bind Event to OnActionClicked

LogBlueprint: Error: [AssetLog] C:\Users\Akiff\Documents\Unreal Projects\Inventory\Content\INVENTORY\Widgets\WB_InventorySlot.uasset: [Compiler] Failed to create property K2Node_CreateDelegate_OutputDelegate from <None> due to a bad or unknown type (Delegate)

LogBlueprint: Error: [AssetLog] C:\Users\Akiff\Documents\Unreal Projects\Inventory\Content\INVENTORY\Widgets\WB_InventorySlot.uasset: [Compiler] Create Event Signature Error: Unable to determine expected signature - is the delegate pin connected?

LogBlueprint: Error: [AssetLog] C:\Users\Akiff\Documents\Unreal Projects\Inventory\Content\INVENTORY\Widgets\WB_ItemMenu.uasset: [Compiler] Action Confirm Event of type Delegate (by ref) doesn't match the property Action Confirm Event of type DelegateProperty`

#

All errors about delegate

#

Maybe an engine bug?

late raptor
#

Could it, where is that node coming from?

frigid flare
#

My function library

late raptor
#

The way it reads is that it tries to "create" the node, then can't find the Delegate inside the WB_ItemMenu, which probably doesn't even have a delegate with that definition.
And then it checks against the connected event and fails. Compiling it might work cause it's a load-order issue, but not sure.

late raptor
#

A Delegate usually has a Signature, something it expects as Inputs of the connected events.

frigid flare
#

it appears every time i open project, until i compile

late raptor
#

Yeah, again, might be a load-order issue. Not sure. I've seen this on a customers project once.

frigid flare
#

Could there any solution for me?

late raptor
#

Right, so WB ActionScreenWidget has the Delegate

#

What happens if you cut the Function Library out of the equation

#

So directly use the CreateWidget + Bind in the ItemMenu?

#

Just for testing fwiw

frigid flare
#

I know that it'll work. It was like that few hours ago :) I just added it to the function library and tried to get rid of some overcrowding, but it obviously causes some problems

#

I think the best approach is to use Create and Bind instead of my function. Thank you for the help