UHeadMountedDisplayFunctionLibrary::GetHMDDeviceName() says it returns the "device" you are using, but it really returns the name of the SDK or XR System that you are using (for example launching on Oculus device through SteamVR SDK, it will return SteamVR).
You can see that it is calling a function "GetSystemName" under the hood:
FName UHeadMountedDisplayFunctionLibrary::GetHMDDeviceName() { FName DeviceName(NAME_None); if (GEngine->XRSystem.IsValid()) { DeviceName = GEngine->XRSystem->GetSystemName(); } return DeviceName; }
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59783 in the post.
5 |
Component | UE - Platform - XR |
---|---|
Affects Versions | 4.20 |
Target Fix | 4.27 |
Created | May 30, 2018 |
---|---|
Resolved | Jan 27, 2021 |
Updated | Oct 13, 2021 |