Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Build Failed in 2019.4.6f1 fresh project with URP and XR Oculus plugin provider

Discussion in 'VR' started by Rs, Nov 10, 2020.

Thread Status:
Not open for further replies.
  1. Rs


    Aug 14, 2012
    Additionally I installed XR Interaction Toolkit, which doesn't seem to be the problem.
    With the current setup I can build and test on Quest with no problem using Unity 2019.4.6f1 but with the standard 3D rendering. If I setup a new project using URP, when I launch the build everything seems to go smoothly but it fails at the very end. giving several errors, the first one being

    Code (CSharp):
    2. C:\Users\RS\Projects\URPVRTemplate\Temp\gradleOut\unityLibrary\src\main\java\com\unity\oculus\ error: incompatible types: View cannot be converted to ViewGroup
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    The majority of errors all mention
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    Like in this one:
    Code (CSharp):
    1. > Compilation failed; see the compiler error output for details.
    3. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    In general the errors seem to shout about an incompatibility with the Android SDK. Weird though that the same setup with (...legacy?) 3D render pipeline Build and Run goes smooth as silk.

    I am using Android API Level 25 (7.1 Nougat) which works for all the other projects I have in development in Unity 2019.2.10.

    I am attaching a trimmed Editor.log file and if someone really has the patience to test, I am attaching a zip file including Packages and ProjectSettings folders.

    Thanks Unity and everyone!

    ps: wasn't sure whether to post this here or URP

    Attached Files:

  2. mfuad


    Jun 12, 2018
    Hi @Rs, can you report this as a bug so our team can properly track and investigate? Thanks!
    Rs likes this.
Thread Status:
Not open for further replies.