Skip to main content
New Participant
April 5, 2019

Unique Device ID on Oculus Go & Unreal

Hello,

I'm trying to get a unique ID offline of the Oculus Go on Unreal Engine that can be persistant between resets or at least between oculus updates. I was using at first the Persistent Unique Device ID from the Mobile Utils Plugin Project (https://forums.unrealengine.com/community/community-content-tools-and-tutorials/86113-free-mobile-utils-mobile-community-project) but the ID of some of my oculus changed after oculus updates, it also changed between resets.

I tried different others functions but none of them seems to work :

  • FAndroidMisc::GetLoginId() and FPlatformMisc::GetLoginID() does not return a persistent ID

  • FAndroidMisc::GetDeviceId() and FPlatformMisc::GetDeviceID() does not return a persistent ID

  • FAndroidMisc::GetMacAdressString() and FPlatformMisc::GetMacAdressString() returns nothing

  • FAndroidMisc::GetUniqueDeviceId() and FPlatformMisc::GetUniqueDeviceID() always returns the same string

I also tried to use the Get Oculus Identity function from the Online Subsystem Oculus plugin but it is stuck on loading.

Do you have any solution? Is there any solution to even get the serial number?

Thanks for your help,

Malo

    This topic has been closed for replies.

    2 replies

    New Participant
    August 9, 2019
    I have the same problem
    Participant
    March 27, 2021

    This is due to a data use checkup not being submitted through the oculus developer dashboard for your project. The request must be approved, then Oculus Identity starts working immediately in UE (PIE, included). This requires a privacy policy to be submitted to them. I used RocketLawyer.com.

    This is what helped me: https://forums.oculusvr.com/t5/Unreal-Development/Get-Oculus-Identity-returns-No-Logged-In-user/m-p/837522