I recently switched to the Oculus Online Subsystem, since then I am not able to connect to my dedicated server running on an EC2 instance. I get a warning:
[2020.05.10-11.10.45:385][684]LogOnline: Warning: Oculus: Failed to initialize the Oculus Platform SDK! Failure code: -5
[2020.05.10-11.10.45:386][684]LogOnline: Warning: Oculus: Oculus API failed to initialize!
I guess because I don't have any oculus runtime installed on the server. Do I need to install to Oculus home or is there a bit more lightweight installer? The oculus home software is 15Gb so installing it on EC2 micro is not a good option. Running it on my local computer, where I have the oculus installed works fine. Or can I just build something into the dedicated server? Any thoughts? 4.25 epic src.
[2020.05.10-11.10.45:085][675]LogNet: Verbose: NotifyAcceptingConnection: Server ForestComposition accept
Have you tried including the platform .dll's with your build? This will cause an instant rejection if you try to upload to the oculus backend, but for other redistributables it should be fine.
I have to do this for my cross platform builds that use parts of the oculus SDK but dont use Oculus home as the primary platform.
you can find these in C:\Program Files\Oculus\Support\oculus-runtime LibOVRPlatform64.dll (there's 32 bit and 64 bit dll's in there so be sure to include all of them depending on your setup)