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
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11