switching to unity 6

hi

i switched from unity 2023.2.3 to unity 6 preview after opening and recompiling some of my projects throw the error

Library\PackageCache\com.unity.testtools.codecoverage\Editor\CoveragePreferences.cs(1,19): error CS0234: The type or namespace name ‘SettingsManagement’ does not exist in the namespace ‘UnityEditor’ (are you missing an assembly reference?)

Library\PackageCache\com.unity.testtools.codecoverage\Editor\CoveragePreferences.cs(31,19): error CS0246: The type or namespace name ‘Settings’ could not be found (are you missing a using directive or an assembly reference?)

i tried deleting those from package manager but they are locked

i tried deleting them from Packages/packages-lock.json but as soon as i start unity they come back

any advice how to delete this package ?

If a package is locked it means another package is dependent on it. You’d have to remove those too.

well the package manager says

but the thing is i didnt installed any of these must be stuff that came automatically with unity 6
will try to delete those now

9814671--1410042--Screenshot 2024-05-05 000115.png

well the test framework is dependent on

but this custom nunit i cant find it

9814674--1410045--Screenshot 2024-05-05 000507.png

ok it seems it was that “Enginnering” package removing that solved it

2 Likes

Check for package updates and upgrade those packages, starting with the package that throws errors and the packages that depend on it.

Removing it fixed the issue as well.
Thanks!