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.

Question Build Error : Failed to call IPostGenerateGradleAndroidProject callback

Discussion in 'VR' started by jrmb, Sep 8, 2022.

  1. jrmb

    jrmb

    Joined:
    Nov 13, 2014
    Posts:
    2
    Hi,

    I suddenly got this error while building on an Oculus Quest 2.

    Failed to call IPostGenerateGradleAndroidProject callback

    Does anyone have a clue of how it appeared, or how it can be solved ?

    Thank you.
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,438
    What unity version?
    Does a blank project work?
     
  3. jeremiebordas

    jeremiebordas

    Joined:
    Apr 6, 2022
    Posts:
    2
    I'm on version 2021.2.13f1, and a blank project does not work neither.
    I tried reinstalling all Android build support, JDK... but it still does not build.

    The same project, on the same Unity version builds on another computer.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    3,438
    Then I suggest reinstalling unity, and unity hub both fully.
    Might as well go to the 2021 LTS if possible in the meantime
     
  5. leitecunha

    leitecunha

    Joined:
    Jun 26, 2013
    Posts:
    7
    Same here... Testing with 2022.2.7f1 and 2022.2.9f1. I just imported the Oculus Integration 49, done all the recommended settings. My scene only has an OVRCameraRig.... and it does that same error.