Search Unity

Question PackageCache test - ugui massive error

Discussion in 'Editor & General Support' started by alejoxreyes, Mar 7, 2023.

  1. alejoxreyes

    alejoxreyes

    Joined:
    Nov 8, 2021
    Posts:
    1
    Hello everyone, I have to use the project from a class mate on my computer, and when I try to open the project I just get this type of error, I've been trying to delete the folders (test and ugui from PackageCache), to delete the lines of dependencies as the solution posted here: https://forum.unity.com/threads/temp-unityengine-testrunner-dll-error.1133938/#post-7287748
    But the folder always comes back and regenerates so I can't make it to work.
    Even the project doesn't open correctly so I must enter on safe mode, does someone knows what else can I do?

    I'm using unity 2020.3.15f2 that is the same version the project is running on my mate computer.

     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    That is how the package manager works.

    You must use the manager to REMOVE problematic packages, or else edit the Packages/manifest.json yourself.

    Extra unwanted packages in new projects (collab, testing, rider and other junk):

    https://forum.unity.com/threads/temp-unityengine-testrunner-dll-error.1133938/#post-7287748

    About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.

    Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared:

    https://stackoverflow.com/questions/53145919/unity3d-package-cache-errors/69779122