Forum Discussion
kren3
4 years agoHonored Guest
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
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago