Copyright © 2026 Unity Technologies
Fix Android issue where a build would silently fail if there is an invalid file placement inside .androidlib
Related required change not being backported.
Repro steps:
CommandInvokationFailure: Gradle build failed. C:\Program Files\Unity\Hub\Editor\2021.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2021.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
(the errror continues - you can check out the attached Editor.log for more info.
Reproducible in 2021.3.18f1
Cannot repro in 2023.1 latest due to tools incompatibility.
Issues you vote on will appear here