Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Unity 2020.3.25f1 with Oculus Integration 35.0 Build failed

Discussion in 'Asset Bundles' started by jacksu_unity, Jan 4, 2022.

  1. jacksu_unity


    Nov 27, 2021
    It used to be working fine just several hours ago, but suddenly, probably with the upgrade of "Update Spatializer Plugins", the Build keep failing.

    I have reimported Oculus Integration, rebooted machine, no use.

    Any suggestion? Thanks.

    BuildFailedException: Oculus Utilities Plugin with OpenXR only supports XR Plug-in Managmenent with Oculus XR Plugin.
    OVRGradleGeneration.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:141)
    UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass15_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:426)
    UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:406)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
  2. trzy


    Jul 2, 2016
    Same issue here with Unity 2021.2.7f1
  3. SeanBannister


    Jul 13, 2020
    Software development teams should really have documentation people right the error messages and not the software developers. I had to read the code before the error and trace back what was happening.

    This is due to OVRPlugin using the experimental OpenXR integration rather than the older integration. There's documentation on how to switch between the two here.

    But basically in unity go to you tools menu.... Oculus > Tools > OpenXR > Switch to Legacy OVRPlugin.