Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.2.X, 2019.3.X
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'
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Add comment