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
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Styles are applied when the tab view has the different style class set in UI Debugger
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11