# FActorHitSignature return a invalid OtherActor pointer param (UE5.2.0)

**URL:** <https://forums.unrealengine.com/t/factorhitsignature-return-a-invalid-otheractor-pointer-param-ue5-2-0/1187027>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, bug-report, CPP, question\
**Created:** [June 2, 2023, 7:08pm UTC](https://forums.unrealengine.com/t/factorhitsignature-return-a-invalid-otheractor-pointer-param-ue5-2-0/1187027 "2023-06-02T19:08:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [June 2, 2023, 7:08pm UTC](https://forums.unrealengine.com/t/factorhitsignature-return-a-invalid-otheractor-pointer-param-ue5-2-0/1187027/1 "2023-06-02T19:08:48Z")

</div>

I’m doing this from an Actor Component.

First I bind the OnActorHit event.

 ![11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/5/225c9a2f4765ca6dcb0716b2c2bad12e45398333.png)

Then I validate the pointer.

 ![12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/b/7eb31a6306f432edfbbb7b2f9cc40a0c506dab70.png)  
Pointer is not null. (Luckily I can use it in my code).  
However IsValid() returns false.

 ![10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/b/21bd81012c78020a111089b16840de5fea271607.png)

So looking at the code of IsValid() I deduce that there is some flag that has not been set in the OtherActor return variable by the OnActorHit Event.

I am right? Or is the problem something else?  
Thank you so much!!
