Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ClearDependencyCacheAsync error: Attempting to use an invalid operation handle

Discussion in 'Addressables' started by scozirge, Mar 17, 2021.

  1. scozirge

    scozirge

    Joined:
    Feb 24, 2015
    Posts:
    80
    Every time I call the function Addressables.ClearDependencyCacheAsync("key"). I get an error "Attempting to use an invalid operation handle". What does that mean and how to fix it?
    upload_2021-3-17_20-3-35.png

    My unity version is 2019.4.8f1 personal.
    Many thanks.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    I'll kick this to the team for a bit of insight. Which version of Addressables are you using?
     
  3. scozirge

    scozirge

    Joined:
    Feb 24, 2015
    Posts:
    80
    Thanks, Addressables 1.8.5
     
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    Thanks. That's a really old version of the package. I would say try updating to the most recent version, and see if you still have this issue.