Some additions to the issue.
I was looking for a workaround for the above issue (which would still be a preferable method if anyone can tell me how to do it properly).
Instead of using Enable Behavior Actions, I instead began Destroying and Adding the components I required. I have an Enter State, InAction State, and Exit State. Each does this:
Enter State -
Destroy Component > CharacterController
Destroy Component > CharacterMotor
Destroy Component > PlatformInputController
Add Component > New Collider
Add Component > My Alternate Control Script
InAction State -
Just monitors properties and changes animation on the skinned mesh object, then detects when it's time to switch back. This state likely has nothing that's contributing to the issue I'm encountering.
Exit State -
Destroy Component > New Collider
Destroy Component > My Alternate Control Script
Add Component > CharacterController
Add Component > CharacterMotor
Add Component > PlatformInputController
Action > ControllerSettings
Action > CharacterMotor Settings
Action > PlatformInputController Settings
Finish
The last action in this list state uses the
ControllerSettings Action that Alex uploaded 6 months ago.
The problem I'm encountering is that the CharacterController, CharacterMotor and PlatformInput Settings Actions don't work more than one time. If I switch the character to alternate controls and back, the exit state correctly adds a new CharacterController (and other components), and configures the CharacterController, CharacterMotor and PlatformInputController properly.
If I activate the switch between controls a
second time, the Exit script correctly creates the CharacterController, but
doesn't configure the settings properly.
To test this, I created a second state after the Exit State that
only configured the settings of the new CharacterController and it's associated components (so now these components were being configured twice after creation), however the error still persists after a second switch between these states.
So, in addition to the issue I posted about above, I have stumbled into some limitation to configuring these components in general. I definitely need some help on this, since now my workarounds aren't working around the problem.
Any replies are appreciated. Many thanks.