Can't use ProBuilder in script

I’m using Unity 2019.4.0f1 and I installed ProBuilder 4.2.3, but when I write “using UnityEngine.ProBuilder” inside a script I get an error about ProBuilder not existing in the UnityEngine namespace.

I can run ProBuilder without any issues inside the editor, but I can’t use it inside scripts.

Can someone please help me figure out what I’m doing wrong?


Solved by creating a new project. I can use ProBuilder OK in scripts now.

Just restarting unity and VS helped me. Don’t know which restart is necessary but just in case