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
- Sprite Editor Window not visualizing changes when selecting different Filter Modes
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline () when opening a project
- The Texture Shape of an Image changes from 2D to a Cube when the project is upgraded to 2019 and above
- Building 3D Sample Scenes (URP) Project fails
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11