UE4 4.17 World Context in blueprint function library does not work

Hi,
I noticed that in latest 4.17 preview 3 there is a problem with blueprint function libraries and World Context.
For example calling “GetGameInstance” inside a blueprint function library now requires a “World Context Object” as input and which result in a null pointer errors.
Also sometimes a World Context input pin appears on functions inside Blueprint function library for unknown reasons.

Hello Eqric,

After doing some digging I was able to find a similar issue. I believe it may share the same root cause. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Edit (link was updated)

Link: Unreal Engine Issues and Bug Tracker (UE-48464)

Make it a great day

There’re discussions of similar issues here.

He then proceeded to moderate it to be a valid answer himself, lol.

It’s related, but I don’t think it’s the same issue. It looks like a world context object is needed now in function libraries, but I couldn’t find any documentation about that. And if it’s true, it’s a bit boring.