Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.2.2-preview.1
Issue ID
1227102
Regression
No
[AIPlanner] Traits FieldValue default values are not reset after updating the trait via inspector
How to reproduce:
1. Open attached project "2019.3.4f1-788974.zip"
2. Open "TraitDefinition.asset" file with notepad
3. In Project window, select "TraitDefinition"
4. In Inspector window, change "Fields" -> "Default" to 999
5. Save the scene
6. Compare the default values in 'TraitDefinition.asset' before and after step 4-5
Expected result: m_FloatValue: 999 and other values are empty or 0
Actual result: m_FloatValue: 999 and other values remain how they were
Reproducible with: 2019.3.6f1, 2020.1.0b3, 2020.2.0a2 (0.2.0-preview.4, 0.2.2-preview.1)
Could not test with: 2017.4, 2018.4 (AI Planner package was not yet released)
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:
Will be resolved in 0.4 when Trait will use a new serialization system