# UE4 4.17 World Context in blueprint function library does not work

**URL:** <https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041>\
**Category:** Blueprint\
**Tags:** UE4-17, unreal-engine, bug-report, Blueprint, question\
**Created:** [August 2, 2017, 8:58am UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041 "2017-08-02T08:58:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fronit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fronit](https://forums.unrealengine.com/u/Fronit)\
**Post date:** [August 2, 2017, 8:58am UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041/1 "2017-08-02T08:58:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 4, 2017, 2:50pm UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041/2 "2017-08-04T14:50:03Z")

</div>

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)](https://issues.unrealengine.com/issue/UE-48464)

Make it a great day

---

<div class="post-metadata">

**Author:** ![antoinegloum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@antoinegloum](https://forums.unrealengine.com/u/antoinegloum)\
**Post date:** [August 14, 2017, 2:31pm UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041/3 "2017-08-14T14:31:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Vuthric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vuthric](https://forums.unrealengine.com/u/Vuthric)\
**Post date:** [August 15, 2017, 2:32pm UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041/4 "2017-08-15T14:32:33Z")

</div>

There’re discussions of similar issues here.

> **[\[BP Compilation Manager\] WorldContextObject is null in BP function library](https://forums.unrealengine.com/questions/678150/bp-compilation-manager-worldcontextobject-is-null.html)**
>
> It's annoying issue we've encountered just after updating to 4.17. We use BP function library to call methods like GetGameInstance(), GetPlayerController(). They require WorldContextObject which should automatically retrieved by method call placed...

---

<div class="post-metadata">

**Author:** ![Vuthric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vuthric](https://forums.unrealengine.com/u/Vuthric)\
**Post date:** [August 16, 2017, 1:32pm UTC](https://forums.unrealengine.com/t/ue4-4-17-world-context-in-blueprint-function-library-does-not-work/401041/5 "2017-08-16T13:32:30Z")

</div>

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