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

Custom github package tries to checkout old revision?

Discussion in 'Package Manager' started by Bas-Smit, Aug 6, 2020.

  1. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    I made a custom package and put it on github. Everything was working fine until I combined all commits to one and did a force push. Now when I add my custom package I get the following error indicating it tries to checkout one of the merged, no longer existing, commits. I reimported my project, restarted my machine, cleared global cache and waited 12+ hours to let any backend processes complete, but I still get the same error. Any ideas? Even when making the repository private I get this error, so I guess its still cached somewhere....

    upload_2020-8-6_12-11-39.png
     
    Last edited: Aug 6, 2020
  2. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    The revision was still listed in Packages/packages-lock.json