cancel
Showing results for 
Search instead for 
Did you mean: 

Unreal project isn't stoped.

artberry
Explorer
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. 
2 ACCEPTED SOLUTIONS

Accepted Solutions

ENiKS
Adventurer
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.

h5fpc1zpwioo.jpg

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.

View solution in original post

artberry
Explorer
3 REPLIES 3

ENiKS
Adventurer
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.

h5fpc1zpwioo.jpg

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.

artberry
Explorer
Thank you ENiKS

artberry
Explorer
Thank you ENiKS