Forum Discussion

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

Unreal project isn't stoped.

Recently I converted my project from 4.11 to 4.13

I heard that 4.13 version is built in oculus platform SDK.

I packaged my project and then play project. 

When I take rift cv1 off , My game is paused at the monitor screen, but my game is playing in the background.

I put on rift again. My game character is moved far away.

When I pressed Oculus remote home button, Situation is same.

I think that pause system doesn't work.

Is there any solution that pause my game when I take rift  off on my head or detect taking off rift ?

and I have a hard time to apply Entitlement check in C++ code 

Is there anyone who teach me kindly?  

Thank you for reading. 
  • My BP solution was to create an Actor placed in the level. The Actor needs to be tickable when paused (or it wont tick while pause, therefore wont unpause the game). The pause the game based on Get VR Focus.



    For Entitlements - enable Online Subsystem Oculus in Plugins (default is disabled), then in your Config/DefaultEngine.ini add
    [OnlineSubsystem]
    DefaultPlatformService=Oculus

    [OnlineSubsystemOculus]
    bEnabled=true
    OculusAppId="<< Your App ID from Dashboard >>"

    Then you have blueprint node "Verify Entitlement" to do job for you.

3 Replies

Replies have been turned off for this discussion
  • My BP solution was to create an Actor placed in the level. The Actor needs to be tickable when paused (or it wont tick while pause, therefore wont unpause the game). The pause the game based on Get VR Focus.



    For Entitlements - enable Online Subsystem Oculus in Plugins (default is disabled), then in your Config/DefaultEngine.ini add
    [OnlineSubsystem]
    DefaultPlatformService=Oculus

    [OnlineSubsystemOculus]
    bEnabled=true
    OculusAppId="<< Your App ID from Dashboard >>"

    Then you have blueprint node "Verify Entitlement" to do job for you.