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

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:
    2,046
    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:
    2,046
    Then I suggest reinstalling unity, and unity hub both fully.
    Might as well go to the 2021 LTS if possible in the meantime