Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Raptcha911 · Sep 08, 2021 at 01:05 PM · buildbundlepackaging

UnityARCore + Android App Bundle + Split Binary issue

I built an Android app bundle from my Unity project containing ARCore package from the package manager with the Split Application Binary option enabled, The build succeeds, but I get an error while uploading the aab file to playstore. The error says UnityARCore asset has been entered in both the modules (base & UnityDataAssetPack).

Here is a screenshot of the same error while computing apk size from the bundle file.

alt text

Here is another screenshot showing the two registries in Android Studio

alt text

This does not happen if I remove ARCore from the project. But I need it. Has anyone faced this issue? How do I remove the ARCore registry from the UnityDataAssetPack module?

Any help would be greatly appreciated. Thank you.

error.png (56.0 kB)
filestructure.png (58.0 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Raptcha911 · Sep 08, 2021 at 03:34 PM 0
Share

Anyone know anything about this?

avatar image Raptcha911 · Sep 09, 2021 at 07:59 AM 0
Share

Nobody? No idea about this issue?

avatar image yetidevops · Sep 25, 2021 at 07:31 AM 0
Share

We are experiencing the same issue. Any update on this one?

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by yetidevops · Sep 27, 2021 at 09:27 PM

Until the editor gets a bug fix for this - our team was able to follow the process below to fix this @Raptcha911.


Using unity 2020.3.19f1 - using the checkbox to build app bundles and split application bundles creates an error when checking apk sizes and will not be accepted by the Google Play Store.

[BT:1.8.0] Error: Both modules 'base' and 'UnityDataAssetPack' contain asset entry 'assets/bin/Data/UnitySubsystems/UnityARCore/UnitySubsystemsManifest.json'.


We got this workaround to work by using the Google Unity plugin at https://github.com/google/play-unity-plugins/releases


Specific Packages:

  • com.google.android.appbundle-1.5.0.unitypackage

  • com.google.play.assetdelivery-1.5.0.unitypackage


Steps to make a build with base and assets separately:

  1. Imported them as custom packages through the asset menu

  2. Uncheck split application binary in Publishing Settings

  3. Then use the Google Menu:

      a. Android App Bundle -> Asset Delivery Settings - check Separate Base APK Asset
      b. Build Android App Bundle
    
    
    

Our app was crashing because of a folder missing so we followed this link to fix that:

https://github.com/google/play-unity-plugins/issues/127

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kfireven · Oct 07, 2021 at 08:49 AM 0
Share

Thank you, it works. Just notice that the Google's plugin doesn't compress the app by default, resulting in a much bigger app size. To enable compression yon need to set CompressInstallTimeAssetPacks to true as detailed here: https://githubmemory.com/repo/google/play-unity-plugins/issues/131.

avatar image Raptcha911 · Oct 07, 2021 at 10:57 AM 0
Share

@yetidevops @kfireven In order for the PlayAssetDelivery to be allowed on the app, doesn't the app need to be marked as a game in Google Play Console?

avatar image
0

Answer by Lenvanthis012 · Dec 05, 2021 at 10:29 AM

To reflect the up-to-date change, we used

com.google.android.appbundle-1.6.0.unitypackage com.google.play.assetdelivery-1.6.0.unitypackage

Also, we imported https://docs.unity3d.com/Manual/AssetBundles-Browser.html.

This solved our problem.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

140 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Bundle Id with underscore in Unity Cloud Build 0 Answers

Android package installer icon 0 Answers

Stuck while building for Android - Compiling Resources | Repackages Resources 1 Answer

Addressables Update a Previous Build does nothing on build 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges