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. Dismiss Notice

Question Seeking for more info on "Force Unique Provider"?

Discussion in 'Addressables' started by Peter77, Jul 29, 2021.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,440
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,795
    I'll ping the team for some insight.
     
    Peter77 likes this.
  3. andymilsom

    andymilsom

    Unity Technologies

    Joined:
    Mar 2, 2016
    Posts:
    294
    This is not useful for the default Providers used with Addressables. It can only come into affect if you use custom providers.

    We well be changing the docs to say:
    Force Unique Provider: Whether Addressables uses unique instances of Resource Provider classes for this group. Enable this option if you have custom Provider implementations for the asset types in this group and instances of those Providers must not be shared between groups.

    The use case is very edge case, where you have custom providers, and said provider need to be instanced to work correctly.
     
    Peter77 likes this.
  4. thexdd

    thexdd

    Joined:
    Mar 20, 2013
    Posts:
    18
    @andymilsom how so using signed urls with addressables is an edge case...
    I have been trying to implement caching for this case for months. still no luck.
     
  5. andymilsom

    andymilsom

    Unity Technologies

    Joined:
    Mar 2, 2016
    Posts:
    294
    I think you may have this thread mixed up with another?