Anonymous
8 years agoCannot get basic project to work in UE4
I cannot get a simple Oculus project to work in UE4, and have no idea why. Here is what I'm doing:
- I've downloaded and built from source the Oculus UE4 branch from Oculus' Github. I'm using 4.18.
- I've created a simple, empty project.
- I've created an app on my organisation developer page, and copied the app id.
- I've also added my Oculus ID to the Team list, and I'm logged in with that user on the Oculus app.
- I've added these lines to the DefaultEngine.ini (where MY_APP_ID is the app id from above)
[OnlineSubsystem]
DefaultPlatformService=Oculus
[OnlineSubsystemOculus]
bEnabled=true
RiftAppId=<MY_APP_ID>
- I've enabled the Online Subsystem Oculus plugin and restarted the engine.
- In the Level Blueprint, I've added this logic to check for entitlement:
- When I then hit to simulate in VR Preview, this is (part of) the output I get:
LogOnline: Display: Oculus: FOnlineSubsystemOculus::InitWithWindowsPlatform()
LogOnline: Warning: Oculus: Could not find 'RiftAppId' key in engine config. Trying 'OculusAppId'. Move your oculus app id to 'RiftAppId' to use in your rift app and make this warning go away.
LogOnline: Warning: Oculus: Missing OculusAppId key in OnlineSubsystemOculus of DefaultEngine.ini
LogOnline: Warning: Oculus: Oculus API failed to initialize!
LogOnline: Warning: Oculus: Oculus platform service not available. Skipping entitlement check.
LogBlueprintUserMessages: [TestLevel_C_0] Oculus Entitlement Failed
I don't understand what I'm doing wrong here. Can anyone help me?