Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 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
0
Question by sandolkakos · Dec 21, 2015 at 11:52 AM · androidapksplitobbapk expansion files

How to work with (main|patch).obb ?

Hi guys, I am creating this question because I don't managed to find a reply about it.

  • We have a custom update system in our Android App, where we can to create a new version only to replace a new picture or sound, for instance. So my questions are:

Question 1 - Every time we build a new APK, we need also install the new OBB, or can we keep the old OBB running with the new APK? In my tests, I can only to use the APK + OBB pair created in the same build, the only difference I found in different APK + OBB Build is the hash code (line 6) in the file bellow. But if I change this hash code, the APK will be broken and can't be used to install in the device: my-game.apk/assets/bin/Data/settings.xml:

```

 <?xml version="1.0" encoding="UTF-8"?>
 <settings>
     <integer name="splash_mode">0</integer>
     <bool name="hide_status_bar">True</bool>
     <bool name="useObb">True</bool>
     <bool name="5692d9e84beb3702c8db627c706073c0">True</bool>
 </settings>

Question 2 - How to create the patch.obb? I can't find a post or tutorial about creating the patch.obb with Unity.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by sandolkakos · Oct 29, 2020 at 10:54 PM

Hi @evan_spiegel , as you can see it has quite some years since I created that question and, to be honest, at that time we ended up having to work with the built pair (APK + OBB). So for any update in our app, we needed to build another pair and update the whole App.

But, it has already some time I decided to not make use of OBB in new projects. I use Asset Bundles instead, and today we have also the Addressable Assets to help in the Assetbundles integration. I strongly recommend you to make use of Addressable Assets, because the OBB is only for Google Play and the Addressable would use the same architecture for any other platform. The usage of Addressable will also help your apps to have better performance. Read more about it here: - https://docs.unity3d.com/Packages/com.unity.addressables@1.16/manual/index.html

Comment
Add comment · Show 1 · 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 evan_spiegel · Oct 30, 2020 at 03:11 PM 0
Share

Thanks so much for your response! I've looked into Addressables a little but I will look into them more, they sound pretty useful.

avatar image
0

Answer by evan_spiegel · Oct 29, 2020 at 06:33 PM

Hey there, did you ever find a solution to this? I am also trying to figure out how to use the patch obb with Unity and having trouble finding useful information online.

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

37 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

Related Questions

"Split Application Binary" results .APK larger than 50mb (SOLVED) 2 Answers

Android APK Expansion Files Process? 3 Answers

Android / Split apk / obb can't load a scene 1 Answer

apk +obb issue, the first scene is messy and the rest of the scenes can't load ! 0 Answers

Can't find OBB when downloaded from Play Store on some devices (4.3.1) 1 Answer


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