Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.1.0f2
2019.1.9f1
2019.2.0a12
2019.3.0a1
Issue ID
1172914
Regression
Yes
Setting physics properties in OnValidate() mark the object dirty even when the values remain the same
How to reproduce:
1. Open the attached project ("case_1172914-OnValidate-dirty")
2. Select the "PlayerController" prefab in the Hierarchy
3. Inspect the logs and notice that the prefab is being constantly saved/reimported
Expected results: Object are not marked as dirty
Actual results: Object is marked as dirty and keeps getting saved/reimported constantly
Reproducible with: 2019.1.0f2, 2019.1.13f1, 2019.2.0a12, 2019.2.0f1, 2019.3.0a11
Does not reproduce with: 2019.1.0b1, 2019.1.0f1, 2019.2.0a1, 2019.2.0a11,
Couldn't test with version below 2019.1.0b1 as they lack".DirtyCount" and other methods
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
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
Resolution Note (fix version 2020.1):
Fixed in: 2019.3.0f4, 2020.1.0a17