Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2019.4.19f1
Issue ID
1317684
Regression
No
[Gradle] Android ARCore build fails with 2019.4 due to outdated Gradle
How to reproduce:
1. Open the attached "New Unity Project.zip" Project on 2019.4
2. Change target support to Android
3. Build the project
Expected behavior: The project builds without problem
Actual behavior: The project fails with the exception that recommended Gradle version is too old for ARcore
Reproducible with: 2019.4.19f1
Not reproducible with: 2020.2.6f1, 2021.1.0b8, 2021.2.0a7
Could not test with: 2018.4 due to package breaking
Note:
- This seems to be an issue not with ARCore, but with 2019.4 version having the outdated Gradle
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
A custom Gradle version must be used for this. ARCore documentation has instructions on how to do that https://developers.google.com/ar/develop/unity/android-11-build#unity_20193_and_20194