LocalKeyword not recognized

Hi, I created a new Unity project, and just created a script like in this documentation example :

I wrote the same script :

using UnityEngine;
using UnityEngine.Rendering;

public class MaterialKeywordExample : MonoBehaviour
{
    public Material material;
    private LocalKeyword exampleFeatureKeyword;

    void Start()
    {
        // Get the instance of the Shader class that this material uses
        var shader = material.shader;

        // Create and cache the LocalKeyword
        exampleFeatureKeyword = new LocalKeyword(shader, "EXAMPLE_FEATURE_ON");
    }

    public void EnableExampleFeature()
    {
        material.EnableKeyword(exampleFeatureKeyword);
    }

    public void DisableExampleFeature()
    {
        material.DisableKeyword(exampleFeatureKeyword);
    }
}

and LocalKeyword is not recognized by visual studio, as well as keywordSpace and others…

the error in the console is the following : The type or namespace name ‘LocalKeyword’ could not be found (are you missing a using directive or an assembly reference?)

well I have visual studio editor last package installed

how to make visual studio recognize LocalKeyword ?

why doesn’t he recognize it ?

thanks !!

What version of Unity are you on? This seems to be a 2021+ feature.

ok, ty !