# Found None Error

**URL:** <https://forums.unrealengine.com/t/found-none-error/495911>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26, UE4, Blueprint, question\
**Created:** [February 8, 2022, 11:28pm UTC](https://forums.unrealengine.com/t/found-none-error/495911 "2022-02-08T23:28:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 8, 2022, 11:28pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/1 "2022-02-08T23:28:59Z")

</div>

Getting the following error,

Blueprint Runtime Error: “Accessed None trying to read property CallFunc\_GetPlayerPawn\_ReturnValue”. Blueprint: BP\_Master\_Interactable\_Door Function: Player Moving Forward? Graph: PlayerMovingForward? Node: Return Node

I know it is due to something ‘not’ being there, but this blueprint was working without errors 2 hours ago, I duplicated the blueprint it was part of to make a variation of where a child component is attached to control the locking of the door instead of taking a key.  
Tried shifting it into the Door master BP in case it was something to do with the function being duplicated across two different BP’s but now the door that wasn’t reporting issues, is.  
Reconnected all the pins, dragged in new references to the components etc. no impact.  
My guess is I’m getting the player incorrectly?  
Any help would be appreciated.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/2/462cd714e04bd699a4e8fae9940b3dac85d8dd78.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 8, 2022, 11:33pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/2 "2022-02-08T23:33:31Z")

</div>

> [@DeviousDeed1](#):
>
> My guess is I’m getting the player incorrectly?

Eh, tricky. Does this spam in the log or triggers only once? Keeps triggering as something else happens? What is this function hooked up to?

If you want to elaborate why door needs to know about the player moving forward, please do! is the player supposed to push the door?

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 11:16am UTC](https://forums.unrealengine.com/t/found-none-error/495911/3 "2022-02-09T11:16:16Z")

</div>

The doors stream levels on interaction and unload when you leave the bounding box, I’m using the players velocity to work out in which direction they are walking from the door to unload the previous room.

They are also physic-like doors so after interaction walking into them pushes them open.

The error message appears in the message log (once per door) just from starting the level.

this is where it is called

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/8/b884666f9d4728941e199abadb4dc9dc72a18415.jpeg)

Thank you for replying so quickly

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 9, 2022, 11:21am UTC](https://forums.unrealengine.com/t/found-none-error/495911/4 "2022-02-09T11:21:59Z")

</div>

> [@DeviousDeed1](#):
>
> “Accessed None trying to read property CallFunc\_GetPlayerPawn\_ReturnValue”. Blueprint: BP\_Master\_Interactable\_Door Function: Player Moving Forward? Graph: PlayerMovingForward? Node: Return Node

When this pops up in the log, you can click on the offending piece of script to get to the right place, usually works ok. Is this the place the editor complains about:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/9/1395ebdf835fc437acdc6cf38c8cc5f9ca38968d.jpeg)

Or are there more places this function is called?

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 11:24am UTC](https://forums.unrealengine.com/t/found-none-error/495911/5 "2022-02-09T11:24:35Z")

</div>

No it’s the return node in the function itself, I tried having a local variable in the function to receive the result and feed that into the return node but then the error was referencing the bool I’d recreated so wasn’t even reaching the return node.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 9, 2022, 11:28am UTC](https://forums.unrealengine.com/t/found-none-error/495911/6 "2022-02-09T11:28:25Z")

</div>

> [@DeviousDeed1](#):
>
> No it’s the return node

I understand that. But since it’s a pure node with no execution wire, something else attempts to pull data from it - here it’s setting the Forward bool, during Event Close Door.

Is this the only place in the entire script where this function is called? I’m trying to identify which part of the script cannot handle it.

> My guess is I’m getting the player incorrectly?

On the contrary - there’s nothing wrong with the function itself, it’s about where it’s called.

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 11:29am UTC](https://forums.unrealengine.com/t/found-none-error/495911/7 "2022-02-09T11:29:48Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/6/a8680efdf6b0fcde7a32b8dc8f0648e7fcf76549.png)

yup

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 9, 2022, 11:31am UTC](https://forums.unrealengine.com/t/found-none-error/495911/8 "2022-02-09T11:31:13Z")

</div>

Could you briefly describe the logic that leads to calling this event? Where is the Pawn when this triggers?

Just to test it quickly, could you place a 1s Delay between the Event Close Door and setting the bool?

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 12:17pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/9 "2022-02-09T12:17:30Z")

</div>

Below is the door in question, the inner box controls the player pushing the door open, the outer box has a On End Overlap that checks the actor leaving is the player and if so calls the Close Door event.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/c/05c7a30fbe4e40c79f5114b8472e41d664d3d776.jpeg)

The delay seems to have no impact (beyond the delay obviously), and the close door event isn’t called until the player leaves the bounding box, but the error occurs even if I just start and stop the scene without doing anything.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 9, 2022, 12:22pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/10 "2022-02-09T12:22:18Z")

</div>

> [@DeviousDeed1](#):
>
> the error occurs even if I just start and stop the scene without doing anything.

Yeah. THAT makes little sense. So if you search for this function in ALL blueprints:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/f/00f668a5221d8e14b28190886abd9c344ecf9a19.png)

You get only 1 result?

* * *

Can you move player start outside the volume?

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 12:22pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/11 "2022-02-09T12:22:35Z")

</div>

No idea why this fixed it but realised I’d assigned a reference to the Player Controller in the parent Interactable BP so used that in place of GetPlayerPawn in the Function and it works now (can’t believe I forgot the player reference)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 9, 2022, 12:23pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/12 "2022-02-09T12:23:33Z")

</div>

Wee! Mystery solved. All that matters.

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 12:24pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/13 "2022-02-09T12:24:16Z")

</div>

Got 3 references, the Master Door BP and its two children, hadn’t noticed the player start that was a network player that wasn’t being used.

---

<div class="post-metadata">

**Author:** ![DeviousDeed1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DeviousDeed1](https://forums.unrealengine.com/u/DeviousDeed1)\
**Post date:** [February 9, 2022, 12:25pm UTC](https://forums.unrealengine.com/t/found-none-error/495911/14 "2022-02-09T12:25:35Z")

</div>

Thank you for the help, no idea how long it would have taken me to stumble across the ‘solution’ with out talking it through with you 🙂
