Search Issue Tracker
Fixed in 1.0.0
Votes
0
Found in [Package]
1.0.0
Issue ID
1250883
Regression
No
Math expressions evaluate when the first digit is entered after the operator
Reproduction steps:
1. Open attached project "SpriteExpression.zip"
2. In Project window, select "test.png"
3. In Inspector window, open Sprite Editor
4. In Border "L" field, after "0", type "+55"
Expected result: The field waits for the expression to be finished
Actual result: The field is evaluated immediately after typing "+5"
Reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0b10, 2020.2.0a13 (2D Sprite 1.0.0)
Notes:
1. Issue reproduces with the following operators: +, -, *, /, %, ^
2. Copying the remained of the expression and pasting it in works around the issue (e.g. "+13-8*2" after the value)
3. Issue does not reproduce with fields outside of the Sprite Editor (e.g. Inspector transform position X,Y,Z)
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
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Resolution Note (fix version 1.0.0):
Fixed in 2020.2.0a21
Resolution Note (fix version 1.0.0):
Fixed in 2019.4.11f1
Resolution Note (fix version 1.0.0):
Fixed in 2018.4.30f1
Resolution Note (fix version 1.0.0):
Fixed in 2020.1.6f1