Get User Profile
Updated: Apr 17, 2026
GetUserProfile returns HMD hardware calibration data for the current user. Despite the name “user profile,” this function provides physical measurement data from the headset, not social or identity profile information. The returned FOculusXRHmdUserProfile struct contains interpupillary distance, eye height, and neck-to-eye distance values populated from device data, along with several vestigial fields that are not populated by current hardware.
This function belongs to UOculusXRFunctionLibrary in the OculusXRHMD module. In Blueprints, it appears under the OculusLibrary category.
Profile: An FOculusXRHmdUserProfile struct (Blueprint display name: “HMD User Profile Data”) containing the following fields:
Name (FString): Always returns an empty string. This field is not populated by current hardware.Gender (FString): Always returns “Unknown”. This field is not populated by current hardware.PlayerHeight (float): Always returns 0.0. This field is not populated by current hardware.EyeHeight (float): Height of the user’s eyes above the ground, in meters. Populated from device data.IPD (float): Interpupillary distance, in meters. Populated from device data.NeckToEyeDistance (FVector2D): Neck-to-eye distance, in meters. X is the horizontal distance and Y is the vertical distance. Populated from device data.ExtraFields (TArray of FOculusXRHmdUserProfileField): Additional key-value fields. Not populated by current implementations.
Return Value: A Boolean which is True if the user profile was acquired.
- Get Pose outputs an estimated neck position (
NeckPosition) that is computed internally using the NeckToEyeDistance value from the user profile. - Get Device Type returns device identification information from the same OculusLibrary Blueprint category.