Converting a Project from Online Subsystem Steam to Oculus UE-5.1.0

botansky31
Fri, 06 Jan 2023 19:25:43 +0000
Multiplayer & Networking

Hello, I am working on a VR app that requires the ability to join and create multiplayer sessions. I already have functionality for this that I have tested and managed to get working for Steam on a Windows build, but now I am trying to make a working standalone build for the quest. I have adapted my initialization files as below based on different references I found online but there’s really not much information out there, the app runs normally I am just unable to connect to the subsystem.

If anyone knows a solution or spotted something that I missed in the setup please let me know, any help is greatly appreciated!

Here are my relevant configuration settings:

DefaultEngine.ini
[OnlineSubsystem]
bHasVoiceEnabled=true
DefaultPlatformService=Oculus

[OnlineSubsystemOculus]
bEnabled=true
OculusAppId=[I have an app ID here]

[/Script/OnlineSubsystemOculus.OculusNetDriver]
NetConnectionClassName=?/Script/OnlineSubsystemOculus.OculusNetConnection?
ServerTravelPause=4.0

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=?GameNetDriver?,DriverClassName=?/Script/OnlineSubsystemOculus.OculusNetDriver?,DriverClassNameFallback=?/Script/OnlineSubsystemUtils.IpNetDriver?)

[/Script/Engine.NetDriver]
AllowPeerConnections=False
AllowPeerVoice=False
ConnectionTimeout=60.0
InitialConnectTimeout=60.0
KeepAliveTime=0.2
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
MaxPortCountToTry=512
bClampListenServerTickRates=true
MaxNetTickRate=90
NetServerMaxTickRate=90
LanServerMaxTickRate=90
NetClientTicksPerSecond=90
MaxClientRate=60000
MaxInternetClientRate=60000

[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=60000
MaxInternetClientRate=60000

[/Script/Engine.Player]
ConfiguredInternetSpeed=65000
ConfiguredLanSpeed=65000

DefaultGame.ini
[/Script/Engine.GameNetworkManager]
TotalNetBandwidth=600000
MaxDynamicBandwidth=60000
MinDynamicBandwidth=4000

[/Script/Engine.GameSession]
bRequiresPushToTalk=false

AndroidEngine.ini
[OnlineSubsystem]
DefaultPlatformService=Oculus

4 posts - 3 participants