# VR Pawn convertion from BP to C++ won't to work..

**URL:** <https://forums.unrealengine.com/t/vr-pawn-convertion-from-bp-to-c-wont-to-work/2258422>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, Blueprint, question\
**Created:** [January 3, 2025, 10:32pm UTC](https://forums.unrealengine.com/t/vr-pawn-convertion-from-bp-to-c-wont-to-work/2258422 "2025-01-03T22:32:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1xu7](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/1xu7/32/88708_2.png) [@1xu7](https://forums.unrealengine.com/u/1xu7)\
**Post date:** [January 3, 2025, 10:32pm UTC](https://forums.unrealengine.com/t/vr-pawn-convertion-from-bp-to-c-wont-to-work/2258422/1 "2025-01-03T22:32:43Z")

</div>

Hello !

The C++ version of VRPawn BP on Beginplay field is not working in my case, i use 5.4.4, it compiles correctly. but when game starts it reads Beginplay and the line according to SetTrackingOrigin make the game crash and quit…

Self-explained image attached.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/d/1edc80c08d3ccb64c09fd2fce8df633161832ab0.png)

LanzarComando is a function defined outside, it points to Exec(UObject\*, TCHAR\*)

Any idea?  
Thanks in advance…
