Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback Improve "Processing Addressable Group" popup

Discussion in 'Addressables' started by Peter77, Mar 16, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,454
    Every time I press Play in the editor, I see this popup appear for a brief moment.

    upload_2020-3-16_11-56-50.png

    It's quite annoying and I would like to suggest to find a way to prevent that.

    A common technique to filter these quick tasks is to display the popup only, after it's busy for a while. For example, rather than displaying the popup immediately, display it after Unity is "processing addressable group" for 1s or so. This would prevent the dialog to popup when it only takes 100ms to process anyway.
     
    AliAlbarrak likes this.
  2. WHiPerino

    WHiPerino

    Joined:
    Jul 1, 2016
    Posts:
    7
    Any way to bypass this? Everytime i press play it just freeze for 5 minutes
     
  3. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    291
    Yes, please tell us how to bypass this window. This question has lasted for three months now.
     
  4. phobos2077

    phobos2077

    Joined:
    Feb 10, 2018
    Posts:
    350
    I think you can't bypass that. "Use asset database" mode needs to process all assets as configured in your groups so they can be used in play mode. Naturally this happens as you enter play mode.
     
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,454
    Would be great if this wouldn't update every time I hit play, for example when nothing changed in-between :)
     
    paradizIsCool likes this.
  6. phobos2077

    phobos2077

    Joined:
    Feb 10, 2018
    Posts:
    350
    I guess they can keep data from last play if, for example, no asset was changed. On my project I used similar approach for a resource system (built on top of addressables). It caches data but invalidates cache every time something is changed in project window. They could probably do something similar. Especially useful when you iterate on code, but asset didn't change.

    On current project this process takes not more than 2-3 seconds (with Domain reload disabled) so not a problem for me yet.
     
    Peter77 likes this.
  7. jiuwuunity5-1

    jiuwuunity5-1

    Joined:
    Aug 17, 2015
    Posts:
    7
    Would be great if this wouldn't update every time I hit play, for example when nothing changed in-between :)
     
  8. nicmarxp

    nicmarxp

    Joined:
    Dec 3, 2017
    Posts:
    404
    I just updated to 2020.1.4 from 2019.3, and also notice this. It's very quick, but it's still kinda annoying to see it. Any updates here, or is this the intended behavior?
     
  9. nicmarxp

    nicmarxp

    Joined:
    Dec 3, 2017
    Posts:
    404
    I still have this problem, it seems like it deletes/rebuilds addressable every now and then, causing it to stick for around 10 seconds. On my friends machine it's much slower.

    Can we disable this and rebuild them manually somehow?
     
  10. tinnystudios

    tinnystudios

    Joined:
    Oct 27, 2016
    Posts:
    14
    Update to the latest version 1.16.x fixed it for me so I thought I'd post it here too in case someone was on an older version too.
     
    phobos2077 likes this.
  11. nicmarxp

    nicmarxp

    Joined:
    Dec 3, 2017
    Posts:
    404
    Thanks, that helped!