Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
AgentSmithh's avatar
AgentSmithh
Explorer
7 years ago

LogOnlineIdentity: Warning: Oculus: Failed Oculus login.

Hi,

I get the following error on starting/loading my UE4 project:

LogOnline: Display: Oculus: FOnlineSubsystemOculus::InitWithWindowsPlatform()
LogOnlineIdentity: Warning: Oculus: Failed Oculus login. Not currently logged into Oculus.  Make sure Oculus is running and you are entitled to the app.

But I am logged in. Oculus Home is running. Never had this before with my settings.

As a result I get entitlement check errors while packaging for Android. I had this a few engine version ago and solved that by removing OVREntitlementChecker from GearVR_APL.xml.

UE4.21.2
Codeworks 1R7
Oculus Home 1.34
Oculus OnlineSubSystem version 1.24.0
Entitlement node included

Any idea?
Cheers,
Martin


8 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    I experienced this same issue. I am using Unreal Engine 4.21 and my target hardware is Oculus Go with the Oculus Platform SDK.

    I tried every combination of App Id's in the DefaultEngine.ini file, removing the same line from the XML file, and building Oculus' version of the Unreal Engine and none of that worked.

    I discovered that when I used the App Id of an Oculus Rift app, this warning does not occur and the Verify Entitlement blueprint node always succeeds, but for Oculus Go & Gear VR apps, the warning occurs and Verify Entitlement always fails.
  • @AgentSmithh @Skulltullaz

    To be enable
    to retrieve Oculus ID and verify Entitlement with the Oculus Go and Quest (Rift
    is OK)



    change



    \Engine\Plugins\Online\OnlineSubsystemOculus\Source\Private\OculusIdentityCallbackProxy.cpp



    Line 26



    from:



    DelegateHandle =
    Online::GetIdentityInterface()->AddOnLoginCompleteDelegate_Handle(



    to:



    DelegateHandle =
    OculusIdentityInterface->AddOnLoginCompleteDelegate_Handle(



     



    Reference: https://github.com/Oculus-VR/UnrealEngine/pull/26

    also the Oculus Go/Quest will use GearVRAppID found in the
    Developer Dashboard 
  • @beaulima9933
    Thanks for responding. I applied your suggestion unfortunately without result.
  • I just tested with engine version 4.20.3 and the Oculus entitlement works perfectly fine. No errors. Same setup in 4.21.1 and 4.21.2 and Oculus entitlement fails.
  • in 4.24.3 entitlement works but afterwards user id check fails with this message:
    Oculus: Failed Oculus login. Not currently logged into Oculus.  Make sure Oculus is running and you are entitled to the app.
  • We are suddenly getting this error.  It was just a couple of people at first, but now it is everyone.  It is only with one of our AppID's, however, not the other?