Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.3

Votes

1

Found in

2017.3.0b10

Issue ID

970747

Regression

Yes

[TrailRenderer] Assertion filed on instantiation (alignment = Local, width curve contains more than one key)

Shuriken

-

Instantiation of prefab with trial renderer (alignment = Local, width curve contains more than one key) leads to assertions:

Assertion failed: Assertion failed on expression: 'curveT >= GetRange().first && curveT <= GetRange().second'
Assertion failed: Assertion failed on expression: 'curveT >= m_Curve[lhs].time && curveT <= m_Curve[rhs].time'

Repro:
1. open scene trail.unity in attached project
2. Enter playmode
3. Press "space" button to instantiate prefab with trailRenderer

Actual result: prefab instantiates with assertion
Expected: prefab instantiates without assertion

Notice, assertions don't appear if prefab is added on the scene before entering playmode

Reproduced: 2017.3.0b10 , 2018.1.0a1
Not reproducible: 2017.2.0f1

Comments (2)

  1. 43e71c24238ffd0eb6fab3d7b06daf68?d=mm

    Yndras

    Jan 15, 2018 00:46

    sorry its actually 2017.3.0f3

  2. 43e71c24238ffd0eb6fab3d7b06daf68?d=mm

    Yndras

    Jan 15, 2018 00:45

    I am having this problem in 2017.3.03b

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.