I've been pulling my hair out with this problem. It's happening for multiple scripts. The example I'll use is because it is freely available to the public.
The errors I am getting are the following
Type `CharacterController' does not contain a definition for `velocity' and no extension method `velocity' of type `CharacterController' could be found (are you missing a using directive or an assembly reference?)
Note for this error, the error is in regards to CharacterController.velocity. In fact, anything that is trying to be called from CharacterController throws up the same errors, only replacing velocity for what it is trying to call.
I've tried deleting and re-importing the character controllers from the standard assets, and just installed unity 4.1.0f. All folders are in their default locations.
I was having this error on the previous version, and didn't find a way around it, but the error was not bugging me as much then.
As an example for a script this happens to (there are many), see the following
[http://wiki.unity3d.com/index.php/FootstepHandler][1]
I see no reason why it shouldn't work, but for some reason it does not.
**TL;DR**
Anything trying to be accessed from the CharacterController throws up 'CharacterController does not contain a definition for 'whatever it's trying to access'
[1]: http://wiki.unity3d.com/index.php/FootstepHandler
Update;
I've tried uninstalling, and reinstalling the following versions (3.5.6 || 4.0.0 || 4.0.1|| 4.1.0||) with no luck.
↧