what other script do you have in your project? It might be an incompatibility with those other scripts, because by default that script works without anything needed to do.
If that happens in a new project, then most probably you used the scripts in the wrong way - where did you place them?