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
- Texture Importer: Swaps red and blue channels
- Parallax mapping with UVs set other than UV0 plugged into sample texture 2d produces an error
- Objects with single letter name won't show up in hierarchy search results
- The GameObject is not transparent when setting CameraDepthTexture as a depth render target
- SRP Lens Flares with Occlusion enabled inconsistently shine through objects
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-25501