Blueprint error: World context object must have a connection

Hi, I asked in Unreal Community Group in facebook but I didn’t get an answer. I have 2 blueprints:

  • Inventory Object (Parent is Object class - i have inventory widget and inventory actor too) - this contains my inventory variables and array of items
  • Item Macro Library - I have implemented macro that duplicates my item

The error:

This is associated with warning:
“Function (should be macro) ‘DuplicateItem’ is unsafe to call from blueprints of class ‘Object’”

Error:
“Pin ‘World Context Object’ must have a connection!”

What is strange cause i don’t see any pin named like that o.O

Images:

The error:

And the macro:

I’m having the same problem. Did you manage to solve it?

SAME PROBLEM

Same problem here, but it looks like the error shows up when I try to spawn an actor from a function inside an “Object”.

Nope, I gave up with this function.