Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Halo500 · Jul 24, 2013 at 06:46 AM · googleobblogcatadb

Google Play OBB and adb logcat help?

Hello! I am trying to follow this tutorial: http://labs.exoa.fr/tutorial-unity-4-apk-splitting-google-play-obb/

I recently got a developer account on Google Play. I did everything the tutorial says, used the scripts, and so far so good. But when I install the build.apk into my device without the .obb file, and I start the app, it just shows the splash screen for Unity, then crashes!

I contacted the guy and he said he was booked at the moment to really help, but he told me it might be a memory leak and to use

 adb logcat -s Unity

in a terminal to see any errors, and I did as he said. I added a dummie level to where I just click a gui.button that loads my "SceneLoader" for the OBB downloading, and when I click the button, the game crashes. The crash is coming from the script from the Google OBB downloader plugin, but I'm not sure what it is...

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 DFG · Sep 17, 2013 at 03:30 PM 0
Share

Did you ever solve this issue? We are having the same problem - we have to export .obb - but it crashes as soon as it starts in google play store.

avatar image Halo500 · Sep 17, 2013 at 09:12 PM 0
Share

Hello DFG! I've asked many developers about this, and at they actually said that this method is really old and should only be used for really old phones.

Google Play now gives you the option to host your .obb file on their own servers for a .obb file size of 4 GB or less. Just splitting the game normally with the "magical" split application button under the build settings will give you the .obb file.

I hope this answers your question. I've spent so much wasted time on this stupid issue when you don't even need it anymore.

avatar image Sisso · Sep 26, 2013 at 09:29 PM 0
Share

@Halo500

I am trying to solve a problem related with this. Could you be more clear about "this method is really old and should only be used for really old phones".

What I have understand is that now the google download the apk and obb during the installation, but you still must check and download if needed (like the user replace the SD card).

Caution: It is critical that you include the necessary code to download the expansion files from Google Play in the event that the files are not already on the device when your application starts.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by shanth · Jul 26, 2013 at 08:40 AM

Hello Just put your scene file in Resources folder and make the obb file it may work for you

Comment
Add comment · Show 4 · 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 Halo500 · Jul 27, 2013 at 12:26 AM 0
Share

Hello shanth, where would I find this Resources folder? I can't seem to find it in my assets folder within the project...

avatar image AlucardJay · Jul 27, 2013 at 03:08 AM 2
Share

You create it =] Just make a new folder in the root of the Assets folder (just make a folder in the project window), name it Resources , done.

avatar image Halo500 · Jul 27, 2013 at 03:10 AM 0
Share

Hi alucardj! Thanks for the comment. I will report back if this helps! :D

avatar image Halo500 · Jul 27, 2013 at 04:44 AM 0
Share

Nope, didn't work. It's not the scene or the OBB that is the problem, it's the OBB Downloader Plugin (https://www.assetstore.unity3d.com/#/content/3189) scripts that are making the game crash instantly... Even if I leave the scripts untouched and added it to the "sceneLoader", it still crashes!

Adb logcat on the ter$$anonymous$$al won't help show any errors also due to the game crashing so quickly on start up... Only person that can really help are the people that helped make that plugin.

Would be really nice if I can get past this one last issue. Problems are always occurring! xP

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

19 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

Related Questions

A node in a childnode? 1 Answer

Share results or score on google+ from android unity3d 1 Answer

ADB ActivityManager error! 0 Answers

internal profiler enabled 0 Answers

Upload/Download .txt files from Google Drive in Unity 3 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