i am trying to change Processor at runtime with this code
this works in Editor, windowsPlayer and ios,...
ApplyBindingOverride(overrideProcessors) crashing Android app
Code (CSharp):
- private void ApplyDeadzoneLeft(float t)
- {
- var m_Player = playerInput.actions.FindActionMap("Player", throwIfNotFound: true);
- var m_Player_Move = m_Player.FindAction("Move", throwIfNotFound: true);
- m_Player_Move.ApplyBindingOverride(0, new InputBinding { overrideProcessors = $"stickDeadzone(min={t}, max=0.95)" });
- }
ApplyBindingOverride(overrideProcessors) crashing Android app