We’ve got two games (one with tens of thousands of downloads) with an OBB expansion file and it works just fine – never had a reported problem with it.
In Unity, on Player settings, check Split Application Binary under Publishing Settings.
Build the game, then check/rename the two files (not 100% sure this is necessary, but works for us):
main.1.com.myname.gamename.apk
main.1.com.myname.gamename.obb
In the Google developer console, on the APK page, switch to Advanced mode, then drag the apk file into the upload panel. After it’s finished uploading, you’ll have an option to add an expansion file. Select the OBB and upload it.
@gecko If you didn’t add code to check to make sure the OBB file successfully downloaded, then you are risking the possibility that a user only downloaded the main apk and not the OBB and your scene will have exceptions, etc.
@mbowen89 : From what I’ve read, that’s only for older devices/versions of Android…is that your understanding? We require 4.2+ and haven’t heard of any problems.
Thank you guys.I really appreciate the clear directions and multi analysis.
It seems the deal is upload at your own risk.
It’s unlikely downloads will fail but if you don’t cater to it you’re breaking the terms of service.
I have some thinking to do. a LOT of people are asking for BrightRidge on Android.
Meanwhile, here’s some end results of my terrain on mobile:
I also remember reading that on older devices, it would more likely have issues. Here’s what Google says:
That’s the one thing, a user might actually accidentally delete an obb when cleaning up their device, and not remove the APK. I’m just saying that it’s really not that much code or difficult when you sit down to do it (adding in OBB code to verify) so if you make any money at all from your apps, it’s worth it.
Oh so Google will still host the “backup” obb? we dont have to host it ourselves, just include this fallback? Thats enough encouragement for me to give it another try. a LOT of people have been asking for BrightRidge on Android. Thanks for including the code:)
When you upload your apk, you upload the OBB file. Google then will do it’s best to make sure the user downloads it when installing. What your code does, is checks to make sure the OBB file is indeed on the device, and if not, contact Google servers and download it.
Hey Protopop, game looks amazing, i will download it once it releases.
Anyways, what are you using for terrain shaders?? I have had issues, and alot of games made in Unity I see the same issue… This is not from my game but same issue… wondering what you may have used ? Thanks!
PS: Have you used Terrain Composer 2 yet?? I been a tester and been using, really loving it, and I used TC1 for years.
Thanks recon0303:) Your game looks like fun. I’m a big fan of bright colors and easy to read landscapes. My games can look kind of messy comparatively:)
Im just using the terrain standard shader. Ive tried using asset store ones but i always seem to end up with these really low res terrain textures, so i just stuck with the basics.
thats not my game, at all, that is just a image I found that looked like the same issue. But thanks anyways. would love to try, but I don’t have any thing apple related, I will wait for your Android version as I develop and have 6 devices for Android .
I’ve been following your forum for quite some time now! It’s amazing to see how far you’ve come and your tips have definitely helped me out quite a bit.
Have you thought about releasing an android version or have you already?
Thanks Adam. I’m a big fan of your work, your professional approach with customers, and your heavy contributions to discussions. You’ve done great work:)
I think world design is so much fun. Its connection to math makes it interesting on a technical level, and a philosophical one too when you think about the similarities between math based terrain and real nature, and what that might mean for the basis of nature in real life.