MarieBisbo
3 years agoHonored Guest
Oculus online subsystem now throws an error instead of a warning when initializing platform
In the Oculus Online Subsystem, attempting to initialize the Windows Platform without the Oculus sdk's installed results in a fatal error. This causes package builds to fail on machines that don't have the sdk installed. The fix is to either install the Oculus sdk's, which can cause problems on the build machines, or change the code to throw a warning instead, which is also not ideal. This was not the case previously, where a warning was thrown instead. Is there a reason to throw a fatal error here?
The error is thrown on lines 300 and 326 in OnlineSubsystemOculus.cpp, as shown in the code below. Any information would be appreciated.
UE_LOG_ONLINE(Error, TEXT("FOnlineSubsystemOculus::InitWithWindowsPlatform: ovr_PlatformInitializeWindows error: %d"), static_cast<int>(InitResult));