Search Issue Tracker

Active

Under Consideration for 1.3.X

Votes

0

Found in [Package]

1.3.1 - Mathematics

1.3.2 - Mathematics

Issue ID

ECSB-1075

Regression

Yes

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

Package: Unity Mathematics

-

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.