Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug TestListProvider

Discussion in 'Scripting' started by Rlyehboy, Apr 8, 2024.

  1. Rlyehboy


    Aug 17, 2023
    Unity won't let me run my game until the error is fixed.
    This is the error:
    Library\PackageCache\com.unity.test-framework@1.1.33\UnityEditor.TestRunner\Api\TestRunnerApi.cs(138,40): error CS0246: The type or namespace name 'TestListProvider' could not be found (are you missing a using directive or an assembly reference?)

    What do I do?
  2. Kurt-Dekker


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

    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: