Also, if that doesn't fix it, you may need to switch your version of unity to a newer or LTS version. That's what I had to do as well.
just fixed this, thanks for your comment