Forum Discussion

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

Ue4 Gear Vr achievements with blueprints.

I have a blueprint project in Ue4 and I have put the achievements blueprints nodes in the project and I have edited them in my dashboard developer's page but it doesn't work. Does the Defaultengine.ini file have to be edited?  Thank you.

9 Replies

Replies have been turned off for this discussion
  • I'm having this problem too, the entitlement check works, but nothing else with the online platform.  Do you need to use the android permission nodes for something?  I can get get the Oculus name and achievements on the Rift but not Gear VR apps
  • Hi,

    There have been other reports similar to what you are describing with Gear VR and UE4 Platform integrations.  We are currently looking into this, and will advise you further once we have more information to share. 

    In the meantime, could you possibly share additional information with me privately such as log/dump files, a copy of the manifest, as well as a screenshot of your blueprint? Thanks!
  • Update:  
    For clarity, the Defaultengine.ini file does need to be edited.  It should read as follows:

    [OnlineSubsystem]
    DefaultPlatformService=Oculus

    [OnlineSubsystemOculus]
    bEnabled=true
    OculusAppId=<your AppID>

    Next you will need to ensure that you have downloaded the app via the Oculus App on the device.  Until this has been done, you may run into issues with entitlements as well as other OSS features.
  • I've update my project to ue4.16 and still doesn't work. I've downloaded my app via my beta channel on oculus store and nothing.
  • Hi! We are experiencing the same issue in 4.17 (Gear VR).  The blueprint entitlement check and GetOculusIdentity does not work. We have edited the defaultengine.ini and enabled the oculus subsytem plugin in project settings. And we run the game from the alpha channel.  Are there any updates on this? 
  • @imperativity Thank you for sharing that post, I have struggled with how to access the native C API (keep getting linker errors for all ovr_* function calls) . However now the Unreal editor crashes everytime i make an api call.  In my build.cs i added the libovrplatform as mentioned in the post you linked (PrivateDependencyModuleNames.AddRange(new string[] { "OnlineSubsystem", "OnlineSubsystemOculus", "LibOVRPlatform" }); ) .   Everything compiles fine in Visual studio and the editor starts if i don't make a ovr call but as soon as I add for example: ovrRequest RequestId = ovr_User_GetAccessToken();)   or any other ovr function call the editor immediately crashes.  Does anyone have a clue on what is going on?   I can provide crash log if necessary
  • @imperativity
    [2017.09.21-19.51.52:411][375]LogWindows: Error: === Critical error: ===
    [2017.09.21-19.51.52:411][375]LogWindows: Error: 
    [2017.09.21-19.51.52:411][375]LogWindows: Error: Fatal error!
    [2017.09.21-19.51.52:411][375]LogWindows: Error: 
    [2017.09.21-19.51.52:411][375]LogWindows: Error: Unhandled Exception: 0xc06d007e
    [2017.09.21-19.51.52:411][375]LogWindows: Error: 
    [2017.09.21-19.51.52:411][375]LogWindows: Error: KERNELBASE.dll!0x00000000377F9E08
    [2017.09.21-19.51.52:411][375]LogWindows: Error: UE4Editor-LeifVR-7454.dll!__delayLoadHelper2()
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-LeifVR-7454.dll!_tailMerge_LibOVRPlatform64_1_dll()
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-LeifVR-7454.dll!LeaderboardHandler::LeaderboardHandler()
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-LeifVR-7454.dll!ULevelManager::ULevelManager()
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-CoreUObject.dll!0x00000000E958D0F5
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-CoreUObject.dll!0x00000000E95891C6
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-LeifVR-7454.dll!ULevelManager::GetPrivateStaticClass()
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-CoreUObject.dll!0x00000000E97E212C
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-CoreUObject.dll!0x00000000E97C6FAA
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-CoreUObject.dll!0x00000000E957C497
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-Core.dll!0x00000000E9AE8220
    [2017.09.21-19.51.52:412][375]LogWindows: Error: UE4Editor-Core.dll!0x00000000E9D368D0
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor-Core.dll!0x00000000E9D35BE3
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor-HotReload.dll!0x00000000D1EC275E
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor-HotReload.dll!0x00000000D1EC2382
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor-HotReload.dll!0x00000000D1ED2AFA
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor-Core.dll!0x00000000E9B2FB28
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor.exe!0x00000000BEC56E57
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor.exe!0x00000000BEC63970
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor.exe!0x00000000BEC639EA
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor.exe!0x00000000BEC702D9
    [2017.09.21-19.51.52:413][375]LogWindows: Error: UE4Editor.exe!0x00000000BEC71C47
    [2017.09.21-19.51.52:413][375]LogWindows: Error: KERNEL32.DLL!0x0000000037A82774
    [2017.09.21-19.51.52:413][375]LogWindows: Error: ntdll.dll!0x000000003A4F0D51
    [2017.09.21-19.51.52:413][375]LogWindows: Error: ntdll.dll!0x000000003A4F0D51
    [2017.09.21-19.51.52:413][375]LogWindows: Error: 
    [2017.09.21-19.51.52:433][375]LogExit: Executing StaticShutdownAfterError
    [2017.09.21-19.51.52:438][375]LogWindows: FPlatformMisc::RequestExit(1)
    [2017.09.21-19.51.52:438][375]Log file closed, 09/21/17 21:51:52
  • Kayatt's avatar
    Kayatt
    Start Partner
    Hi @InnerExodus and @imperativity 

    We are currently trying to add Achievements into our game, but we were trying using blueprints. 

    Entitlement works fine, but we have no feedback if Achievements are working using ONLY blueprints.

    This function was implemented for blueprints?

    Thanks,
  • pekayatt wrote: "We are currently trying to add Achievements into our game, but we were trying using blueprints. 
    Entitlement works fine, but we have no feedback if Achievements are working using ONLY blueprints.
    This function was implemented for blueprints?"

    Any update on this?  I have the same issue, entitlement check works fine but there's no feedback on Achievements and they aren't being awarded.

    I'm testing through my release channel.

    I've added:
    Achievement_0_Id="api_name" to the defaultengine.ini

    All of the achievements I've created in the developer panel show up in game.

    This is my blueprint entry:


    Any help on this would be great, thank you