What object to use to provide a world context object in editor utility blueprint?

I was trying to make a simple tool with editor utility blueprint to render material to render texture but after some version of UE it started requiring World Context Object to do just that. What object can I provide as source of World Context Object?

PS My current solution is to create an actor, place it on the scene, add the function to it’s blueprint, mark function “Call In Editor” and use it from object’s “Details” tab.

4 Likes

Sorry for necro, but this thread is the first result on google, so here’s the answer:

8 Likes

Beautiful! Thank you for raising this from the dead. Your timing was impeccable, because 7 hours after you posted, this answered the exact same question for me. :slight_smile:

1 Like