Reproduction steps:
1. Open the attached project “InputSystem”
2. Enter Play mode
3. Select the "Test" GameObject in the Hierarchy
4. Click "Set And Log Action 1"
5. Click "Set And Log Action 2"
Expected result: "Test1" and "Test2" is logged in the Console
Actual result: "Test1" is logged twice
Reproducible with: 1.4.4 (2020.3.46f1, 2021.3.20f1), 1.5.0 (2022.2.10f1, 2023.1.0b7, 2023.2.0a5)
Reproducible on: macOS 12.4 (Intel), Win 10
Note from the user report:
"The reason is that the input action cached in the input action reference is not emptied when setting new values.
If it's prohibited to do that, the method should send an error."