Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.2, 2019.3

Votes

0

Found in

2019.1.0f2

2019.2.0a1

2019.2.0f1

2019.3.0a1

2020.1.0a1

Issue ID

1179048

Regression

Yes

OnValidate is called every Frame when Prefab Asset in Project Window is selected when user sets 'lineRenderer.useWorldSpace'

Shuriken

-

How to reproduce:
1. Open user's attached project (OnValidateCalledEveryFrame.zip)
2. In Project Window select "Spline" prefab

Expected result: OnValidate is called only once
Actual result: Console Window shows that OnValidate is called every Frame and flashing loading icon indicates that loading is always in progress

Reproducible with: 2019.1.0f2, 2019.2.4f1, 2019.3.0b2, 2020.1.0a3
Not reproducible with: 2017.4.32f1, 2018.4.8f1, 2019.1.0f1

Notes:
The issue does not occur in Prefab Mode or when selecting an instance of the Prefab in the Hierarchy Window

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.