Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2019.2.X

Votes

0

Found in

2017.4.0f1

2017.4.25f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

Issue ID

1147106

Regression

No

No error provided when calling Gradient.Evaluate(NaN)

Visual Effects - Legacy

-

How to reproduce:
1. Open attached Unity project
2. Enter the Play mode

Expected result: Error should appear, Nan can't be passed to this function.
Actual result: Gradient.Evaluate() behaves as 0 is passed and left circle becomes green.

Reproduced with: 2017.4.26f1, 2018.3.14f1, 2019.1.0f2, 2019.2.0a13.

Note: after building this project on Android, left circle remains invisible.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.