How to disable player movement?

I need my player to stay still, maybe in idle state, while I access an interface. I try to disable various scripts that control player movement, but sometimes it gives me an error.
 
Take a look at this page:

 
So should I wait for the update to solve my problem?
Meanwhile I will have to avoid those errors, what I don't like is that I don't want to update the unit to that recommended version.
 
you can just use:
Time.timeScale = 0;

This freezes the user's keyboard input while they can still use UI. On exit turn the timeScale back to 1.
 
If you are not going to use the OnEnableGameplayInput, just have an ability on CharacterLocomotion that doesn't allow positional or rotational input?
 
Top