Play Asset Delivery example breaks when using ARCore package
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- build-system, mobile-dev
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 1.5k
- Forks
- 303
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Unity-Technologies/Addressables-Sample
-
ODR doesn't seem to work anymoreAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Unity-Technologies/Addressables-Sample#98 · 3 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Unity-Technologies/Addressables-Sample#94 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Unity-Technologies/Addressables-Sample#90 · 1 comentario ·
Todos los issues de Unity-Technologies/Addressables-Sample
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
microsoft/onnxruntime-genai#2633 ·
Los mantenedores suelen responder en 1 día
-
python triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
microsoft/semantic-kernel#14491 ·
Los mantenedores suelen responder en 2 días
-
area:jobads-cv FE mvp P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
klasolsson81/jobbliggaren#1878 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
pnp/pnpcore#1878 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SubtitleEdit/subtitleedit#15331 · 2 comentarios ·
Los mantenedores suelen responder en 1 día