Build & run apk freezes on pushing content, only one scene of game available
Hey guys, So I have this publishing problem. If I connect android device and build & run it to the device, i get to the point where it asks to install the app, and after I do, it freezes on "Copying apk package to device". The interesting part - if I unplug and re-plug the device - installation continues and game is launched great on my device. However, If I don't, I can open the game, but there's only one scene that I can access - if I try accessing others - black screen. The same thing happens if I build apk and then move it to my device manualy. Any tips? I've tried playing with storage defaults, changed pretty much all of the player settings and have no idea what to do next.. Unity does not give any errors whatsoever. Unity version 5.4.1f1, Android version on device: 6.0. I tried building for most of the android version though - same thing.
Any help is greatly appreciated!
Answer by ehofas · Sep 27, 2016 at 05:24 PM
Found it. There's .obb file which is used for resources and other stuff. Aaaand, of course there's a checkbox which allows you not to install the .obb file.
Player settings -> Publishing settings -> Split application binary
It's magical though, how could it work before with the work around of unplug-re-plug device.
Your answer
Follow this Question
Related Questions
Laptop crashed; Unity scene 'broken' 0 Answers
What Emulator For Android Is The Best For Unity 3D? 0 Answers
Unable to build for Android - Unable to convert classes into dex format. 0 Answers
Different Unity games cannot install on same Android device 4 Answers
Calling unity from android native activity back screen for 3 seconds. 0 Answers