Reproduction steps:
1. Create and open a project using the core “Runner Game“ template
2. Import the attached “Test.cs“ script
3. Observe the Console
Expected result: no errors
Actual result: errors about missing names in the Visual Scripting namespace
Reproduced in: 2021.3.0f1, 2021.3.18f1
Could not test in: 2020.3.44f1, 2022.2.5f1, 2023.1.0b2 (no “Runner Game” template)
Reproduced using: macOS 13.0.1 (Intel), Windows 10 (by user)
Errors:
1. “Assets/Test.cs(5,24): error CS0234: The type or namespace name 'IncludeInSettingsAttribute' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)“
2. “Assets/Test.cs(5,24): error CS0234: The type or namespace name 'IncludeInSettings' does not exist in the namespace 'Unity.VisualScripting' (are you missing an assembly reference?)“
Notes:
1. The errors persisted after reinstalling the Visual Scripting package
2. The errors persisted after upgrading editor versions (e.g. from 2021.3.11f1 to 2023.1.0b2)
3. Not reproduced using the core “3D” template