Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2021.2.2f1
2021.2.9f1
2022.1.0a6
2022.2
Issue ID
1399184
Regression
Yes
Typing transform expressions like /=3 first resets the value to 0 instead of acting on the original value
Reproduction steps:
1. Create and Open new Project
2. Make two empty GameObjects
3. In the Inspector Window set the first GameObject's X value to 6 and the second GameObject's X value to 3
4. Select both GameObjects inside the Hierarchy Window
5. In the Inspector Window set the X variable to /=3
Expected result: GameObjects' X values are divided by 3
Actual result: GameObjects' X values are set to 0
Reproducible with: 2021.2.2f1, 2021.2.9f1, 2022.1.0a6, 2022.1.0b6, 2022.2.0a3
Not reproducible with: 2021.2.1f1, 2022.1.0a1, 2022.1.0a5
Could not test with the 2019.4.34f1, 2020.3.26f1 versions because they do not support this feature
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The hover selection/highlight of items in the Insert button dropdown and the Documentation button dropdown are hard to see when hovered using the Light Editor theme
- NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
- Crash on "core::base_hash_set" when using nested [SerializeReference] fields in List<T> structures
- A ghost Game Window and multiple errors appear in the Editor when a Render Texture used by a Camera's "Target Texture" property is deleted
- Color Picker feels less smooth when dragging a Variables Color property in UI Builder Inspector
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11