Search Issue Tracker

Fixed

Fixed in 2022.3.65f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a2, 7000.0.0a35

Votes

1

Found in

2022.3.63f1

6000.0.51f1

6000.1.9f1

6000.2.0b7

6000.3.0a2

Issue ID

UUM-110524

Regression

Yes

SerializedProperty errors are thrown when pressing the "Esc" key to cancel the modification of int or float values

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.