05-26-2019 01:47 PM
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[]
{
"Core",
"CoreUObject",
"Engine",
"InputCore",
"HeadMountedDisplay",
"UMG",
"LibOVRPlatform",
"OnlineSubsystem",
"OnlineSubsystemUtils"
});
PrivateDependencyModuleNames.AddRange(new string[]
{
"OnlineSubsystem",
"OnlineSubsystemOculus"
});
PublicDefinitions.Add("HMD_MODULE_INCLUDED=1");
}
My .uproject file is setup as:{"FileVersion": 3,"EngineAssociation": "4.22","Category": "VR Projects","Description": "","Modules": [{"Name": "KrazyKarts","Type": "Runtime","LoadingPhase": "Default","AdditionalDependencies": ["Engine","OnlineSubsystemUtils","UMG"]}],"Plugins": [{"Name": "SteamVR","Enabled": false},{"Name": "MagicLeap","Enabled": false,"SupportedTargetPlatforms": ["Lumin"]},{"Name": "OnlineSubsystemIOS","Enabled": false,"SupportedTargetPlatforms": ["IOS","TVOS"]},{"Name": "PerforceSourceControl","Enabled": false},{"Name": "PhysXVehicles","Enabled": false},{"Name": "OnlineSubsystemOculus","Enabled": true}],"TargetPlatforms": ["Android","WindowsNoEditor"]}
[OnlineSubsystem]
DefaultPlatformService=Oculus
[OnlineSubsystemOculus]
bEnabled=true
OculusAppId=[my app id]
RiftAppId=[my app id]
[OnlineSubsystem]
DefaultPlatformService=Oculus
The oculus online subsystem is enabled in my plugins along with the oculus VR plugin, anything related to steam VR is also disabled.06-10-2019 07:50 AM