I can use SpriteShapeController in the Unity Editor and can work with it. However, when I want to use SpriteShapeController in the code editor (VS 2022), I get the prompt: “CS0246 The type or namespace name ‘SpriteShapeController’ could not be found (are you missing a using directive or an assembly reference?)” and “UNT0014 ‘SpriteShapeController’ is not a Unity Component”.
I have already reinstalled the packages. The result is always the same. It’s the same on my second PC. I’m using Unity 2022.3.50f1
I added a using for “UnityEngine.U2D” in my definition. In the same namespace is also the SpriteShapeRenderer class, which is found without any problems.
The SpriteShapeController-Class should be public → Docs
On second reading I understood the note about the missing reference in my own assembly definition… And yes the reference to “Unity.2D.SpriteShape.Runtime” is missing there.