Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Jan 06, 2017 at 01:29 AM by JoshBaz for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by JoshBaz · Aug 12, 2016 at 08:53 PM · buildscene-loadingobb

Where to put my .obb file?

Hello. This may seem like a silly question but where to I put the obb file. This is my first time exporting a game using split application binary and I just can figure out where to put the file. I tried sdcard/Android/data/[packagename] and sdcard/Android/data/[packagename]/files and sdcard/Android/obb/[packagename] and I just can't seem to figure out why my next scene isn't loading. I checked if I referenced the correct scene index and I didn't rename the obb file after export. I also have various games on my device that use obb files and I tried using their file path style with my game but still no luck. Someone please help.

Comment
Add comment · Show 1
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 Mintonne · Aug 15, 2016 at 08:58 AM 1
Share

Obb files go to Android/obb/[packagename]

If you have an sd card, try saving it to sdcard/Android/obb/[packagename]. If it fails try saving it to the internal storage internal storage/Android/obb/[packagename]

1 Reply

  • Sort: 
avatar image
2
Best Answer

Answer by JoshBaz · Aug 21, 2016 at 08:02 PM

Ok I figured it out. I had to rename the obb file using [main|patch].[expansion-version].[package-name].obb and then place it in sdcard/Android/obb/[package-name]

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 IgorAherne · Jan 09, 2019 at 12:17 AM 0
Share

more on that here: https://developer.android.com/google/play/expansion-files#Filename

avatar image RandomCharacters · Apr 01, 2019 at 07:51 PM 0
Share

I know this is an old link, but this shows up in Google search so here goes: How to sideload a split Android AP$$anonymous$$/OBB package onto a device from computer via USB cable.

 UNITY EXPORT
 - Attach device to computer with USB cable.
 - In the inspector, Android tab, Publishing Setting, check the box "Split Application Binary".
      Google Play Store has a 100 $$anonymous$$B limit on the AP$$anonymous$$ so this can be split to AP$$anonymous$$ (max 100 $$anonymous$$B) and OBB (max 2 GB).
 - Export from Unity to AP$$anonymous$$/OBB.  Files saved onto computer directory.
 
 RENA$$anonymous$$E OBB
 - In Unity, File>Build Setting>Player Settings.
 - In the Inspector, Select Android and then go to "Other Settings".
 - Copy the Identification>Package Name.
 - Go to the directory where the files were saved.
 - Rename the file name from "Filename.obb" to "main.1.com.CompanyName.GameName.obb".  (This is "main.1.") (then paste the Game Name after it) (then ".obb").
 
 SI$$anonymous$$OAD APP
 - Copy the AP$$anonymous$$ to a directory such as:  Phone>Download.
 - Create a directory on the phone: Phone>Android>obb>PackageName.  ("com.CompanyName.GameName")
 - Copy the OBB to the directory Phone>Android>obb>PackageName.
 
 RUN GA$$anonymous$$E
 - Run an app like "$$anonymous$$y Files" from android device.
 - Find the AP$$anonymous$$ and install App.
 - It may require you to approve of  allow sideloading apps not from the strore.  Change the setting.
 - Run the game and enjoy.
 

Follow this Question

Answers Answers and Comments

55 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

Related Questions

Distribute terrain in zones 3 Answers

Possible to load scenes from directory? 3 Answers

Input not working in-build. 0 Answers

Using as AssetBundle to replace first scene 2 Answers

Some devices not downloading OBB from playstore 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