Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Delivery : Bundles can't restart/continue downloading after interrupting it in notification bar #233

Open
GrimSparrow opened this issue Dec 8, 2023 · 11 comments

Comments

@GrimSparrow
Copy link

GrimSparrow commented Dec 8, 2023

Hello! In our game we're using Play Asset Delivery plugin for unity and all required libraries. Plugin version is 1.7.0 and Unity version is 2021.3.27f1. In our delivery system we're using Install time and on Demand modes. So, after downloading application from google play we launch the game and our code send request to download on demand bundles. There we have few cases, when issue happend:

Case 1

  1. In notification bar we have several downloading files
  2. Disable wi-fi - downloading stopped, no files in notification bar
  3. Enable wi-fi - files in notification bar appear again. but downloading is stucked

Restarting the game does not help - frozen downloads continue to hang in the notification bar

Case 2

  1. In notification bar we have several downloading files
  2. Manually remove downloading file from notification bar
  3. Downloading is stucked and it seems that bundle status not changed to Cancelled. Its just disappear from notification bar without any callback

Restarting the game does not help - frozen downloads continue to hang in the notification bar

We were thinking to update play asset delivery to newer version, but according to https://developers.google.com/unity/packages?hl=ru#google_play it requires Unity 2023.1.0 beta, which we can't use at this moment because of many reasons. It's will be good to port newer version of PAD to be compatible with older stable versions of Unity.

I kindly ask you to sort out the problem and help, this problem brings great losses to our project and generates a bad feeling from the gameplay for our big audience. It also leads to the loss of new players in our game.

@mtemnikov
Copy link

We have the same problems(( the best thing we can do is to implement our own cdn system(

Here there is nobody who will help you as well as unity crap. Such a critical functionality is not working and very buggy( well done to all(

@mtemnikov
Copy link

mtemnikov commented Dec 10, 2023

Have you tried to download bundles one by one creating a queue? I am thinking it might help

@jennhernes
Copy link

I don't know if the update will help but you could try updating to 1.8.0 or 1.8.1. Those support Unity 2021

@GrimSparrow
Copy link
Author

Have you tried to download bundles one by one creating a queue? I am thinking it might help

As i know it doesn't help(

@mtemnikov
Copy link

mtemnikov commented Jan 16, 2024

Any progress on this? I have tried to use last lts 2021.3.34 with updated libs but it didn't work:(

Btw, how can we force google team to investigate this issue?(

@lesderid
Copy link

lesderid commented Jan 16, 2024

I'm afraid this is a Google bug that isn't specific to Unity. There is an issue tracking it, but it's not currently public. They are working on a fix though.

It's probably not of much help, and I don't know if it works for Unity, but:

So far the only workaround that I've found is detecting whether the download progress has stalled (i.e. no change in n seconds), prompting the user if they want to cancel/retry, and then calling AssetPackManager#cancel, followed by another AssetPackManager#fetch. This is not ideal for UX however.

@mtemnikov
Copy link

mtemnikov commented Jan 19, 2024

Hello again. I tried to cancel and retry downloading bundles however it didn't help. Pack are stucked in endless loop of unknown status with internal error and only cleaning cache of play store app might help. I also tried to remove packs by remove method and it also didn't help.
Next thing i want to try is to remove packs manually by deleting containing folder but i have doubts 🥲

Maybe you have more ideas to try because this issue is ruining our game: lots of players can't finish downloading and there put very low rate in store. And it is not our fault ☹️

@lesderid
Copy link

lesderid commented Mar 7, 2024

I just heard from Google that this should be fixed in a recent Play Store release!

@GrimSparrow
Copy link
Author

I just heard from Google that this should be fixed in a recent Play Store release!

Can you, please, provide source of this information? If it's true - its good news!

@lesderid
Copy link

lesderid commented Mar 7, 2024

I just heard from Google that this should be fixed in a recent Play Store release!

Can you, please, provide source of this information? If it's true - its good news!

I'm afraid that I was notified through a comment on an issue on Google's issue tracker that is not publicly visible.

@GrimSparrow
Copy link
Author

I just heard from Google that this should be fixed in a recent Play Store release!

Can you, please, provide source of this information? If it's true - its good news!

I'm afraid that I was notified through a comment on an issue on Google's issue tracker that is not publicly visible.

I understand, thanks anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants