:UnbindAllActions()

So I’ve got a few functions that are bound to actions via ContextActionService, and in order to avoid CAS breaking I call CAS:UnbindAllActions() before they die so I can reset the functions when they spawn with no problem. However, and I’m assuming this has something to do with the new character controls, in the past few days players have been getting stuck. They would respawn and not be able to move. Eventually I figured out that, by calling UnbindAllActions(), players would no longer be able to move.

Repro:
Open a new place in Studio
Start a server with 1 player
Go to the player window and walk around
Also in the player window, enter this into the commandbar: “game:GetService(“ContextActionService”):UnbindAllActions()”
Walk around some more

Just a note - I’m sure that this is intentional with the new character controls being tied to CAS, but I have been using UnbindAllActions for months now and it hasn’t disabled controls, so this is something you don’t want to use anymore for disabling your bound functions (since that’s not all it does anymore).

Yes. The new control scripts utilizes CAS

My suggestion is to save the titles of your actions and make a UnbindAllCustom method.

That’s basically what I did. But it took me a while to figure out why anyone who respawned would not be able to move since using the method has worked for a long time.