Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/TestScene.unity“ Scene
3. Select the “BUG TEST OBJECT“ GameObject in the Hierarchy window
4. Modify the “Value Int” Y value to 1 in the Inspector window
5. Press the “Esc” key to cancel the value modification
6. Modify the “Value Float” Y value to 1 in the Inspector window
7. Press the “Esc” key to cancel the value modification
9. Modify the “Value Int” X value to 1 in the Inspector window
10. Press the “Esc” key to cancel the value modification
11. Observe the Console window
Expected result: No errors are thrown
Actual result: “SerializedProperty::SetAllFloatValuesImmediate can only work on float data“ and “SerializedProperty::SetAllIntValuesImmediate can only work on integer data” errors are thrown
Reproducible with: 1.2.6, 1.3.1, 1.3.2 (2022.2.0a11, 2022.3.24f1, 2023.2.18f1), 1.3.1, 1.3.2 (6000.0.0b14)
Not reproducible with: 1.2.6, 1.3.1, 1.3.2 (2021.3.37f1, 2022.2.0a10)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The regression is in the Editor versions and not the package itself