Having problem using Shapes in Unity 2019.4.16f1 Android platform (The type or namespace name 'VisualElement' could not be found)
Hi Freya! I got a long long list of the same error about missing assemblies right after I import Shapes to my project. I imported everything of Shapes.
I use Unity 2019.4.16f1, Android platform, Shapes version 3.1.1(I think... because I just downloaded it from asset store)
Error examples:
Library\PackageCache\com.unity.package-manager-ui@2.0.13\Editor\Sources\UI\PackageDetails.cs(665,18): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.package-manager-ui@2.0.13\Editor\Sources\UI\PackageDetails.cs(666,18): error CS0246: The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?)
Library\PackageCache\com.unity.package-manager-ui@2.0.13\Editor\Sources\UI\PackageDetails.cs(27,26): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)Library\PackageCache\com.unity.package-manager-ui@2.0.13\Editor\Sources\UI\Common\LoadingSpinner.cs(2,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
this is a Unity bug where it doesn't properly handle package dependencies from 2018.x in 2019.x
the solution is to open the package manager and remove the "package manager UI" package, as it is incorrectly imported and isn't needed in 2019.x