Blueprint Failed to Compile: VRPawn

Hi All, Followed instructions for adding a VIVE Tracker for externalCamera, everything went smooth until I tried to run it.

Error → Blueprint Failed to Compile: VRPawn
help!

Hello,

If you open the VRPawn blueprint, and try to compile it directly, it should show you what nodes are causing the error.

It also might allow others to help you better if you link to the instructions that you followed.

Cheers, welcome to the Forums.

Thanks Astrotronic, It compiles now. The instruction set I’m using is
[How to use Vive Trackers in UE 5.2 and later versions | Tutorial](https://How to use Vive Trackers in UE 5.2)
I’m trying to set up a virtual studio for a short film. The Vive pro 2 is working just fine, can see it move in the VR glasses.

Screenshot 2023-04-11 220432

I followed the rest of the instructions, download unreal 5.2, the instructions were clear but tracker is not moving the VRPawn camera.

Screenshot 2023-04-11 221429

Screenshot 2023-04-11 221836

Screenshot 2023-04-11 221716

Glad to hear that your pawn is now compiling.

I’m not familiar with Vive trackers, I see those instructions have you enabling the OpenXRViveTracker plugin. Do you also have the main OpenXR plugin enabled?

I only did what the instructions stated, I don’t know another implementation, so no. I looked at the Plugins and this is what is enabled.

Do you know anyone that has done a Vive Tracker on 5.2 that could help? Should I post this in a different section. As you can see I’m film guy and not a sw guy.

Hi Contagious! We also were having troubles getting the trackers to work in 5.2 (which were working in 5.1.1 for us) and just recently got them up and going

It could be one, or multiple, of several things causing this for you. Will share those details in your post related to the trackers and will link to it back here for others trying to find this

For any who have gotten Vive trackers working before in other versions (and if you followed the new steps and it’s still not working for you), you may just need to press the VR/level Preview button. This solved it for us. You can find it (a green play button) in the top left/middle of your UE editor/main window. (keyboard shortcut Alt+P to enter preview on Windows. Escape to exit out of it)

A few things to note: Your Editor window and other UE windows will automatically minimize when you enter VR/level preview. If you’re wanting to access your editor or other UE windows, you can mouse over/hover over your UE application icon and click to restore/access those UE windows again.
If you clicked your mouse inside the level preview window which appears, you may find your mouse is trapped in there/you can’t use it anywhere else. If you need or want to get your mouse out without exiting the preview mode, you can Alt+Tab then release those keys and your mouse should be freed

VR Preview is one of a few big differences between getting vive trackers working in 5.1.1 and 5.2. In 5.1.1 and earlier, you could see your devices tracking in the editor whether you had preview mode running or not. In 5.2, as far as we can tell, you need to have preview mode running in order for the tracker information to be received (there may be some way around this, though this is what we are witnessing so far).

Hope this helps you! Will share additional info for you in your other post