Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kren3's avatar
kren3
Honored Guest
4 years ago

Cannot build for UWP platform, if Oculus Integration v31.0 is included in project

Hello,

 

We are using MRTK with Oculus integration to build both for HL2 and OQ2 platforms, but latest Oculus integration prevents building. Following error is reported in Unity:

 

Assets\Plugins\Oculus\SampleFramework\Usage\Passthrough\Scripts\EnableUnpremultipliedAlpha.cs(15,20): error CS0117: 'OVRManager' does not contain a definition for 'eyeFovPremultipliedAlphaModeEnabled'

 

Inspection of code reveals that "OVRManager.eyeFovPremultipliedAlphaModeEnabled" is wrapped in "#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN || UNITY_ANDROID" region. "EnableUnpremultipliedAlpha.Start" method should either use the same pre-processor code or "OVRManager.eyeFovPremultipliedAlphaModeEnabled" should be outside of it. 

Replies have been turned off for this discussion