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.
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.
What unity version?
Does a blank project work?
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.
Then I suggest reinstalling unity, and unity hub both fully.
Might as well go to the 2021 LTS if possible in the meantime
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.
The same project, on the same Unity version builds on another computer.
me too
Me too, did you solve the problem?
Me too, did you solve the problem??
Me too, did you solve the problem??
EDIT :- I solved solution is down in the same thread written by me
I am facing the same issue, any progress ?
There’s not a lot of information to go on here. Can you submit a bug? That will give us a lot more to work with.
1st i will suggest u to try building ur game on a stable network connection in my case my wi-fi was not stable so i tried building it on my mobile data (through hotspot) if it still fails then try these steps
platform-tools
, tools
, and build-tools
.ANDROID_HOME
and set its value to your Android SDK path.Got it resolved, it because of the android version limit and difference.
Thanks for the help.
Forgot to update.
Follow this exact procedure rather watching an Youtube videos.