# How is this boolean possibly returning false?

**URL:** <https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200>\
**Category:** Blueprint\
**Tags:** interface, actor-blueprint, interfaces, unreal-engine, question\
**Created:** [October 7, 2024, 2:27pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200 "2024-10-07T14:27:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kotaru\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Post date:** [October 7, 2024, 2:27pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200/1 "2024-10-07T14:27:31Z")

</div>

I have an interface with a boolean value that always returns false, even if literal

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/d/7dd0ae6914ba37f52ed73b1e9400243c1de835b4.png)

This breakpoint gets triggered, and when I continue the execution it takes me to the matching event in this actor

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/f/50fa0bf21ab5483fa88f8a9b21e751bbc84db166.png)

The boolean that comes from the event input is false, and it doesn’t matter whether I set it to pass by ref or not. I have no idea what could be causing this or how to fix it

---

<div class="post-metadata">

**Author:** ![PREDALIEN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/predalien/32/1194670_2.png) [@PREDALIEN](https://forums.unrealengine.com/u/PREDALIEN)\
**Post date:** [October 7, 2024, 3:13pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200/2 "2024-10-07T15:13:06Z")

</div>

Are GrabbingObject and Self after calling the interface the same?

Also try to display your value every tick and what object it is in.

---

<div class="post-metadata">

**Author:** ![Kotaru\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Post date:** [October 7, 2024, 3:17pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200/3 "2024-10-07T15:17:11Z")

</div>

No they’re two different actors, the interface message is in a player character and the event being called is in a static mesh actor. I’m not sure how printing the value in tick would help tbh, it tells me the correct actor when I print its display name just before the interface message. It’s the only one of its class in the scene as well.

The event is firing in the correct actor, it’s just not keeping that boolean value. The FPSMesh and the EquipManager references work as intended though

---

<div class="post-metadata">

**Author:** ![Kotaru\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Post date:** [October 7, 2024, 4:43pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200/4 "2024-10-07T16:43:10Z")

</div>

I had to just delete the interface function and replace it with a new one. Seems to be a bug.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 6, 2024, 4:43pm UTC](https://forums.unrealengine.com/t/how-is-this-boolean-possibly-returning-false/2057200/5 "2024-11-06T16:43:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
