Play Asset Delivery example breaks when using ARCore package
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Domaine
- build-system, mobile-dev
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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:
- Open the PlayAssetDelivery SampleScene
- Install ARCore XR Plugin 4.1.7 or 4.2.0 through the Unity package manager UI
- Go through the setup steps as described in the Addressables-Sample project's README
- Ensure 'Split Application Binary' is checked in Player / Publishing settings
- 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.
- Langage dominant
- C#
- Étoiles
- 1.5k
- Forks
- 303
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Unity-Technologies/Addressables-Sample
-
ODR doesn't seem to work anymoreOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 32/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Unity-Technologies/Addressables-Sample#98 · 3 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
Unity-Technologies/Addressables-Sample#94 · 2 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 30/100
Unity-Technologies/Addressables-Sample#90 · 1 commentaire ·
Toutes les issues de Unity-Technologies/Addressables-Sample
Issues similaires
-
Money ExploitsOuverteS: Untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
project-wayfarer/wayfarer-14#1628 ·
Les mainteneurs répondent en général sous 3 jours
-
:watch: Not Triaged dotnet-target-version
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
copilot documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 2 jours
-
untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
dotnet/dotnet-api-docs#13124 ·
Les mainteneurs répondent en général sous 1 jour
-
agentic-workflows
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour