In 5.4b3 they added support virtualrealitySDK. the documentation shows how this works in the editor. There is no information on how to do this in a build script.
as mentioned here Unity - Manual: Oculus
after you check the box, there is now a list that needs to be populated. In my build script that is done with
playersettings.virtualRealitySupported=true
Simple enough. Oculus will not work as the SDK is not loaded in the build script.
Where is it done?