Hello,
Creating a VR game that works seamlessly across different platforms can be a bit tricky, especially when dealing with various VR headsets. Let’s explore some steps and considerations to help you address the issue with your Vive build:
OpenXR Plugin Configuration:
First, ensure that you have the OpenXR plugin enabled in your Unreal Engine project settings. You can find this under Edit > Project Settings > XR Plug-in Management.
Click the exclamation mark next to “OpenXR” and choose “Fix All” to ensure proper configuration1.
Interaction Profiles:
Interaction profiles define how your game interacts with different VR controllers. For Vive, you’ll need to add the appropriate interaction profiles for Vive controllers.
Make sure your VRPawn is set up to handle Vive controllers correctly. You might need to adjust the input mappings and interactions.
Test your game with Vive controllers (if possible) or rely on feedback from Vive users to ensure proper functionality.
Target Hardware:
Regarding the “Target Hardware” setting, it’s essential to choose the right platform. In your case, targeting “Desktop” is correct because Vive is a PC-based VR headset.
The “Mobile” option is for mobile VR platforms like Oculus Quest, not for Vive.
Stick with “Desktop” and focus on Vive-specific adjustments.
Vive OpenXR Plugin:
Vive provides its own OpenXR plugin. Make sure you have the Vive OpenXR plugin installed and configured in your project.
You mentioned that Vive has an OpenXR plugin for UE 5.3 and 5.4. Ensure you’re using the correct version of the plugin for your engine version.
If you haven’t already, download and integrate the Vive OpenXR plugin into your project.
Testing and Feedback:
While you don’t have direct access to a Vive headset, consider reaching out to the VR community or fellow developers who have experience with Vive.
Forums, social media, and VR-focused communities can be helpful for gathering insights and troubleshooting.
SteamVR also provides tools for testing and simulating different VR headsets, including Vive. You might explore those options.
Debugging:
If the VRPawn is stuck on the floor, check your VRPawn’s initial position and collision settings.
Ensure that the VRPawn’s capsule or collision component is correctly placed at the player’s feet level.
Debugging logs and console output can provide valuable information about what’s going wrong during startup.
I hope the information may help you.