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
2
Question by jreitman · Dec 14, 2012 at 01:14 AM · androidapk expansion filesexpansionandroid pro

Does Resources.Load() not work with Android Split Application

For various reasons we have to ship with a 50MB + binary so we loved the new Unity Application Split functionality. Unfortunately, when we use it, none of our Resources.Load() calls work any more? Is this a known restriction? What is the work around? We absolutely can not reference these things using the inspector for memory reasons.

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 mtpl · May 09, 2017 at 07:17 AM 0
Share

I'm also having the same problem. Did you find any solution buddy.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Adamcbrz · Dec 14, 2012 at 04:39 AM

I don't know if this fixes your problem but The App Split functionality requires everything in your first scene (usually) a downloading scene. So anything in that scene has to be loaded into the 50MB apk. Everything get put into the expansion file. Make sure you are also handling the downloading of the expansion file.

http://developer.android.com/google/play/expansion-files.html Most of the time, Google Play downloads and saves your expansion files at the same time it downloads the APK to the device. However, in some cases Google Play cannot download the expansion files or the user might have deleted previously downloaded expansion files. To handle these situations, your app must be able to download the files itself when the main activity starts, using a URL provided by Google Play.

This tutorial might help you with that: http://labs.exoa.fr/tutorial-unity-4-apk-splitting-google-play-obb/

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
avatar image
0

Answer by jreitman · Dec 14, 2012 at 06:26 AM

That's not the problem. This is after the OBB (expansion APK) is downloaded. The obb is loaded and all assets except things loaded with Resources.Load() (and Handheld.PlayFullScreenMovie()) are accessible, but anything accessed with the 2 methods do not work at all.

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 jreitman · Jan 25, 2013 at 09:11 PM 0
Share

For those wondering, this was a known bug in Unity 4.0 which they fixed in Unity 4.0.1

avatar image Brickit · Sep 25, 2013 at 11:05 PM 0
Share

Did they? I am having the same problem with 4.2.1f4 The file -is- getting downloaded and is appearing in Android/obb in the correct na$$anonymous$$g but Application.loadlevel just fails with an error in DD$$anonymous$$S saying it needs to be added to build settings.

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

12 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

Related Questions

GooglePlayDownloader crashes on FetchOBB() 2 Answers

PlayFullScreenMovie doesn't work with Android Expansion APK? 0 Answers

I want to ask about Android developers 0 Answers

Unity 3D split apk not loading the .OBB file 0 Answers

How Add Files In A .apk Android Build 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