Search Unity

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

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:
    4,857
    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:
    4,857
    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.
     
  6. sajadkk

    sajadkk

    Joined:
    Jul 15, 2023
    Posts:
    1
    The same project, on the same Unity version builds on another computer.
    me too
     
  7. JinMingqw

    JinMingqw

    Joined:
    Jul 22, 2023
    Posts:
    1
    Me too, did you solve the problem?