Download

World Context Object Error

I’m trying to add a widget to the view port but the Construct Widget function causes a “World Context Object needed” error. There’s no empty pin and I’m not even sure what it’s asking for.

I worked around it by implementing the function for adding the widget in the character blueprint and then I call that function from the item on use. I no longer get that error, which makes sense, I think, because the character is the world context object.