Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Play Asset Delivery example breaks when using ARCore package

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, csharp, unity

Research direction

Open the PlayAssetDelivery SampleScene and follow the setup steps in the Addressables-Sample README, then reproduce the AAB build with Split Application Binary enabled. Compare the bundletool 1.8.0 output with and without ARCore XR Plugin 4.1.7 or 4.2.0, and inspect the Addressables Analyze results; done means the duplicated UnitySubsystemsManifest.json entry is resolved or the conflict is clearly reported.

Written by the indexing model from the issue text.

Description

Hello!

I see the disclaimer that these examples are not guaranteed to work, but I am seeing a very strange issue when trying to use Addressables with Play Asset Delivery.

It seems like splitting the application binary causes an issue with the Unity Android build where a copy of UnitySubsystemsManifest.json is duplicated in both the base APK and the generated asset pack. I have only seen this happen while using the ARCore XR plugin so far.

Steps to reproduce:

  1. Open the PlayAssetDelivery SampleScene
  2. Install ARCore XR Plugin 4.1.7 or 4.2.0 through the Unity package manager UI
  3. Go through the setup steps as described in the Addressables-Sample project's README
  4. Ensure 'Split Application Binary' is checked in Player / Publishing settings
  5. Build the AAB

In a shell script:

bundletool="java -jar bundletool-all-1.8.0.jar"
$bundletool build-apks --bundle=$name.aab --output=$name.apks
$bundletool install-apks --apks=$name.apks

When I don't split the application binary, everything works fine! But when I do, I get the following error:

[BT:1.8.0] Error: Both modules 'base' and 'UnityDataAssetPack' contain asset entry 'assets/bin/Data/UnitySubsystems/UnityARCore/UnitySubsystemsManifest.json'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Both modules 'base' and 'UnityDataAssetPack' contain asset entry 'assets/bin/Data/UnitySubsystems/UnityARCore/UnitySubsystemsManifest.json'.
        at com.android.tools.build.bundletool.model.exceptions.UserExceptionBuilder.build(UserExceptionBuilder.java:58)
        at com.android.tools.build.bundletool.validation.EntryClash
   ....

Unity version: 2020.3.15f2
Bundletool version: 1.8.0

Example of someone seeing the same issue: https://answers.unity.com/questions/1859871/unityarcore-android-app-bundle-split-binary-issue.html

The Addressable plugin's Analyze tool does not seem to mention this issue. (same warnings in both situations, never related to ARCore or Subsystems)

I can provide more information as needed. The issue is fairly simple to reproduce, the only difference is that the ARCore plugin is installed.

Dominant language
C#
Stars
1.5k
Forks
303
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Unity-Technologies/Addressables-Sample

All issues in Unity-Technologies/Addressables-Sample

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.