Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.17f1
2023.1.0b1
Issue ID
UUM-25485
Regression
Yes
[Android] Build fails when a project has a custom asset pack
How to reproduce:
1. Open the attached “repro-project”
2. Go to Edit → Project Settings → Player → Publish Settings and enable Split Application Binary
3. Go to File → Build Settings and enable Build App Bundle
4. Build the project and observe
Expected result: The project is built successfully.
Actual result: The Build fails with errors.
Reproducible with: 2021.3.15f1, 2021.3.17f1, 2023.1.0b1
Not reproducible in: 2021.3.14f1
Could not test with: 2020.3.44f1, 2022.2.3f1 (Errors with packages)
Reproducible on: macOS 13.2 (Intel)
Errors:
CommandInvokationFailure: Gradle build failed.
/Applications/Unity/2021.3.17f1_3e8111cac19d_x64/Unity.app/Contents/PlaybackEngines/AndroidPlayer/OpenJDK/bin/java -classpath "/Applications/Unity/2021.3.17f1_3e8111cac19d_x64/Unity.app/Contents/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease" […] Execution failed for task ':launcher:assetPackReleasePreBundleTask'.
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-25501