You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
bundletool failed: Failed to run '/Applications/Unity/Hub/Editor/2020.3.4f1/PlaybackEngines/AndroidPlayer/OpenJDK/bin/java -jar "/Users/joon/git/inua/Assets/GooglePlayPlugins/com.google.android.appbundle/Editor/Tools/bundletool-all.jar" build-bundle --overwrite --config="/var/folders/8c/1lkfpptx58vfghggl5t8f48c0000gn/T/BundleConfig.json" --modules=/var/folders/8c/1lkfpptx58vfghggl5t8f48c0000gn/T/play-unity-build/jor9ixr0.2dg/scenes/scenes.zip,/var/folders/8c/1lkfpptx58vfghggl5t8f48c0000gn/T/play-unity-build/jor9ixr0.2dg/base/base.zip --output="inua.aab" --metadata-file=com.android.tools.build.libraries/dependencies.pb:/var/folders/8c/1lkfpptx58vfghggl5t8f48c0000gn/T/play-unity-build/jor9ixr0.2dg/base/source/BUNDLE-METADATA/com.android.tools.build.libraries/dependencies.pb'
stdout:
stderr:
[BT:1.5.0] Error: null
java.lang.NullPointerException
at java.nio.file.Files.provider(Files.java:97)
at java.nio.file.Files.notExists(Files.java:2434)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:260)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:71)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:47)
I am using this command to build the app bundle
public static void Build()
{
var assetPackConfig = new AssetPackConfig();
assetPackConfig.AddAssetBundle(AssetBundleDirectory + "scenes", AssetPackDeliveryMode.FastFollow);
//CreateAssetPackConfig();
var buildPlayerOptions = AndroidBuildHelper.CreateBuildPlayerOptions(AabFilePath);
if (!Bundletool.BuildBundle(buildPlayerOptions, assetPackConfig))
{
throw new Exception("Asset Delivery Demo build failed");
}
}
Seeing this in the log of a batchmode build
I am using this command to build the app bundle