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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11