Cloud build of GearVR (Android) project doesn't work, but local build from same depot does (5.2.1p2)

I am getting this on version 5.3.4p1
Is this still an issue @Ryanc_unity ?
Thanks

UCB Emailed log below:

59: [Unity] Targeting platform: android
60: [Unity] Initialize engine version: 5.3.4p1 (e89f89413a91)
61: [Unity] Refreshing native plugins compatible for Editor in 0.01 ms, found 0 plugins.
62: [Unity] Couldn’t open /UNITY_PATH/Unity/Unity-5_3_4p1/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, error: dlopen(/opt/Unity/Unity-5_3_4p1/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, 2): Library not loaded: @rpath/LibOVRRT_0.framework/Versions/5/LibOVRRT_0
63: [Unity] Referenced from: /UNITY_PATH/Unity/Unity-5_3_4p1/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin
64: [Unity] Reason: image not found
65: [Unity] Could not load symbol ovrp_Initialize : invalid handle passed to dlsym()
66: [Unity] VR: Oculus could not be loaded: Failed to load symbol ovrp_Initialize.

@markbailey hmm, I’m unsure on that error if it is the same or just slightly different. Let me talk with some folks and see if we can fix it on our end or if there is something else wrong.

1 Like

Similar problem seems to be happening for us in cloud build:

107: [Unity] Couldn’t open /UNITY_PATH/Unity/Unity-5_3_6f1/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, error: dlopen(/opt/Unity/Unity-5_3_6f1/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, 2): Library not loaded: @rpath/LibOVRRT_0.framework/Versions/5/LibOVRRT_0

Same error for me in 5.3.6p6

Couldn’t open /UNITY_PATH/Unity/Unity-5_3_6p6/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, error: dlopen(/opt/Unity/Unity-5_3_6p6/Unity.app/Contents/VR/oculus/macosx64/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, 2): Library not loaded: @rpath/LibOVRRT_0.framework/Versions/5/LibOVRRT_0

I get the same error as @vilcans in 2017.2.0f3 on OSX High Sierra:

Couldn’t open /Applications/Unity_2017.2.0f3/Unity.app/Contents/UnityExtensions/Unity/VR/OSXUniversal/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, error: dlopen(/Applications/Unity_2017.2.0f3/Unity.app/Contents/UnityExtensions/Unity/VR/OSXUniversal/OVRPlugin.bundle/Contents/MacOS/OVRPlugin, 2): Library not loaded: @rpath/LibOVRRT_0.framework/Versions/5/LibOVRRT_0
Referenced from: /Applications/Unity_2017.2.0f3/Unity.app/Contents/UnityExtensions/Unity/VR/OSXUniversal/OVRPlugin.bundle/Contents/MacOS/OVRPlugin
Reason: image not found